Workflow file for this run
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 packages | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
vitest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- uses: foundry-rs/foundry-toolchain@v1 | |
- run: yarn install --immutable | |
- run: yarn lint --write package.json packages/**/package.json # for some reason, postinstall script does not get executed automatically | |
- run: yarn test --coverage | |
env: | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} |