diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c80992..b66b153 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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