Change yarn.lock #5
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: CI | |
| env: | |
| CI: true | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: ['*', '**/*'] | |
| jobs: | |
| lint-and-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up environment | |
| uses: ./.github/actions/setup | |
| - name: Lint | |
| run: yarn lint | |
| - name: Build | |
| run: yarn build | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| FORGE_SNAPSHOT_CHECK: true | |
| test-forge: | |
| runs-on: ubuntu-latest | |
| needs: lint-and-build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up environment | |
| uses: ./.github/actions/setup | |
| - name: Test | |
| run: yarn test:forge | |
| test-hardhat: | |
| runs-on: ubuntu-latest | |
| needs: lint-and-build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up environment | |
| uses: ./.github/actions/setup | |
| - name: Test | |
| run: yarn test:hardhat |