Skip to content

Commit 1694bcc

Browse files
Enforce frontend coverage threshold in CI js-tests jobEnforce frontend coverage threshold in CI js-tests job
Run npm run test:coverage instead of npm test so vitest's 50% line threshold in vitest.config.js is actually validated on every PR.
1 parent d04fea5 commit 1694bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
*) echo "Unsupported Node platform: $(node -p "process.platform + '-' + process.arch")"; exit 1 ;;
204204
esac
205205
npm install --no-save "${PKG}@${ROLLUP_VERSION}"
206-
- run: npm test
206+
- run: npm run test:coverage
207207

208208
benchmarks:
209209
name: Performance benchmarks (informational)

0 commit comments

Comments
 (0)