chore: point sepolia at the hackathon clean testnet deployment #1559
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: Test | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "pnpm" | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build ensjs-abi and ensjs | |
| run: pnpm -F @ensdomains/ensjs-abi -F @ensdomains/ensjs build | |
| - name: Start test environment | |
| run: docker compose up -d devnet | |
| working-directory: packages/ensjs | |
| - name: Run tests | |
| run: pnpm -F @ensdomains/ensjs test --run | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build ensjs-abi | |
| run: pnpm -F @ensdomains/ensjs-abi build | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Type check | |
| run: pnpm -F @ensdomains/ensjs check:types |