Bump vite, @vitest/coverage-istanbul and vitest #15
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: Unit Test Compliance | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "codex/**" | |
| pull_request: {} | |
| jobs: | |
| unit-test-compliance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| # Pin to a known-good patch for Node's experimental unit coverage output. | |
| node-version: 22.12.0 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci --include=optional | |
| - name: Ensure Rollup Linux binary is present | |
| run: | | |
| node -e "require.resolve('@rollup/rollup-linux-x64-gnu')" || npm i --no-save @rollup/rollup-linux-x64-gnu@$(node -p "require('./node_modules/rollup/package.json').optionalDependencies['@rollup/rollup-linux-x64-gnu'] || require('./node_modules/rollup/package.json').version") | |
| - name: Run unit + component compliance | |
| run: npm run test:compliance:quiet |