Add audit step
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
|
- audit
|
||||||
- lint
|
- lint
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
@@ -16,6 +17,12 @@ install:
|
|||||||
- node_modules
|
- node_modules
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
audit:
|
||||||
|
image: node:14
|
||||||
|
needs: ["install"]
|
||||||
|
stage: audit
|
||||||
|
script:
|
||||||
|
- npm audit --audit-level=critical
|
||||||
|
|
||||||
es:lint:
|
es:lint:
|
||||||
image: node:14
|
image: node:14
|
||||||
|
|||||||
Reference in New Issue
Block a user