test: add hermetic git e2e baseline (#126) #667
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: | |
| pull_request: | |
| push: | |
| branches-ignore: | |
| - master | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint code | |
| run: npm run lint | |
| - name: Check types | |
| run: npm run typecheck | |
| - name: Run unit and end-to-end tests | |
| run: npm test && npm run test:e2e | |
| - name: Audit production dependencies | |
| run: npm run audit:prod | |
| - name: Build and package action | |
| run: npm run build && npm run package | |
| - name: Build Docker action | |
| run: docker build . |