Etherscan api v2 #5544
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pullrequest build & test | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [16.14.2] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Decrypt testWallets.json.gpg file | |
| shell: bash | |
| env: | |
| SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE_FOR_TESTS }} | |
| run: > | |
| ./.github/scripts/decrypt_secret.sh | |
| - name: npm install | |
| uses: bahmutov/npm-install@v1 | |
| with: | |
| useLockFile: false | |
| - name: build mainnet | |
| run: | | |
| npm run build:mainnet | |
| - name: build mainnet widget | |
| run: | | |
| npm run build:mainnet-widget | |
| - name: build testnet for tests | |
| run: | | |
| npm run build:testnet-tests | |
| # - name: run e2e tests | |
| # run: | | |
| # mkdir ./tests/e2e/screenshots | |
| # npm run test:e2e:actions | |
| # - name: Upload failure screenshots | |
| # uses: actions/upload-artifact@v4 | |
| # if: failure() | |
| # with: | |
| # name: failure-screenshots | |
| # path: ./tests/e2e/screenshots | |
| # if-no-files-found: ignore | |
| # - name: Upload screenshots | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: screenshots | |
| # path: ./tests/e2e/screenshots | |
| # if-no-files-found: ignore | |
| # env: | |
| # CI: true | |