Test #1440
This file contains 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: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
# manual trigger | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- run: yarn prepare | |
- run: yarn lint | |
deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- run: yarn yarn-deduplicate --strategy=highest --list --fail | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- run: yarn prepare | |
- run: yarn test | |
env: | |
JSON_RPC_PROVIDER: ${{ secrets.JSON_RPC_PROVIDER }} | |
- run: yarn test:e2e | |
env: | |
JSON_RPC_PROVIDER: ${{ secrets.JSON_RPC_PROVIDER }} | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- run: yarn prepare | |
- run: yarn build |