This repository was archived by the owner on Apr 4, 2025. It is now read-only.
chore: use setup node action cache #1129
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - packages/contract/** | |
| - packages/demo-issuer/** | |
| - packages/demo-revocation/** | |
| - packages/demo-verifier/** | |
| - packages/e2e-demo/** | |
| - packages/verite/** | |
| - packages/wallet/** | |
| jobs: | |
| lint_and_test: | |
| name: "Lint & Test" | |
| runs-on: ubuntu-latest | |
| env: | |
| NODE_ENV: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "16" | |
| cache: "npm" | |
| - run: npm run setup | |
| - run: npm run setup:ci -w e2e-demo | |
| - run: npm run build:verite | |
| - run: npm run lint | |
| - run: npm run type-check | |
| - run: npm run test |