Nonce-Specific Deployment Task for Cross-Chain Address Matching #11
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: Hardhat Tests | |
| on: | |
| pull_request: | |
| branches: main | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| test: | |
| name: Run Hardhat Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Compile contracts | |
| run: pnpm build | |
| - name: Run tests | |
| run: pnpm test | |
| - name: Run coverage | |
| run: pnpm coverage |