Skip to content

Commit 117362d

Browse files
authored
Use npm ci as safer install option for CI tests (#607)
* Use npm ci as safer install option for CI tests * Add audit checking * Change dashes
1 parent c13bf36 commit 117362d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
# Pre-check to validate that versions match between package.json
2222
# and package-lock.json. Needs to run before npm install
2323
- run: node version-check.js
24-
- run: npm install
24+
- run: npm ci
2525
- run: npm test
2626
- run: npm run lint
27+
- run: npm audit --audit-level=critical
2728

0 commit comments

Comments
 (0)