Skip to content
Snippets Groups Projects
Commit 1304d5d1 authored by Marco Holz's avatar Marco Holz
Browse files

chore: merge cve-scan and lint stage

parent a3ffa017
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ variables:
stages:
- lint
- cve-scan
- build
- deploy
......@@ -101,7 +100,7 @@ stop:preview:
# the `yarn.lock` file has to be scanned explicitely
trivy-filesystem:
stage: cve-scan
stage: lint
image:
name: aquasec/trivy:latest
entrypoint: [""]
......@@ -113,7 +112,7 @@ trivy-filesystem:
yarn-audit:
stage: cve-scan
stage: lint
image: node:lts-alpine
script:
- yarn audit --level high || (test $? -lt 8 && echo "Moderate vulnerabilities found, proceeding anyway.")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment