chore(security): adopt @lavamoat/allow-scripts to reduce supply-chain risk #89
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: Run linea-ens-contracts unit tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "packages/linea-ens-contracts/**" | |
| - ".github/workflows/linea-ens-contracts-tests.yml" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "packages/linea-ens-contracts/**" | |
| - ".github/workflows/linea-ens-contracts-tests.yml" | |
| jobs: | |
| linea-ens-contracts-tests: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./packages/linea-ens-contracts | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 18 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - run: yarn install --immutable --immutable-cache --check-cache | |
| - name: Run test | |
| run: yarn test |