chore(deps-dev): bump @types/node from 25.6.0 to 26.0.0 in the types group across 1 directory #378
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: Tests | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - name: Install | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Lint | |
| run: npm run lint | |
| - name: Format check | |
| run: npm run format:check | |
| - name: Test | |
| run: npm run test | |
| - name: Build | |
| run: npm run build | |
| - name: Build harness | |
| # Sanity-build the developer test harness so the mock layer stays in | |
| # sync with src/. Output (harness/dist/) is .gitignored — this step | |
| # only verifies the build succeeds. | |
| run: npm run build:harness | |
| - name: Verify dist/ is up to date | |
| run: | | |
| if [ -n "$(git status --porcelain dist/)" ]; then | |
| echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes." | |
| git status dist/ | |
| git --no-pager diff dist/ | |
| exit 1 | |
| fi |