Package updates #25
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: EVM Checks | |
on: | |
push: | |
paths: | |
- 'evm/**' | |
pull_request: | |
paths: | |
- 'evm/**' | |
jobs: | |
check: | |
name: Type Check, Lint, and Test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: evm | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: 'yarn' | |
cache-dependency-path: evm/yarn.lock | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Compile hardhat | |
run: yarn hardhat compile | |
- name: Type check | |
run: yarn tsc | |
- name: Lint and format check | |
run: yarn biome check | |
- name: Run tests | |
run: yarn test |