Add audit step

This commit is contained in:
Aarni Halinen
2021-01-15 22:54:30 +02:00
parent 9231bc47a4
commit 6bcfaa09d0
+7
View File
@@ -1,5 +1,6 @@
stages:
- setup
- audit
- lint
- build
- test
@@ -16,6 +17,12 @@ install:
- node_modules
expire_in: 1 week
audit:
image: node:14
needs: ["install"]
stage: audit
script:
- npm audit --audit-level=critical
es:lint:
image: node:14