docs: broaden scope to Universal Cryptographic Compliance & fix forma… #80
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: GreenProof CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint check | |
| run: npm run lint | |
| - name: Type check | |
| run: npx tsc --noEmit | |
| - name: Build check | |
| run: npm run build | |
| - name: Run Unit Tests | |
| run: npm run test | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: Run E2E Tests | |
| run: npm run test:e2e | |
| env: | |
| CI: true |