Commit 248970e6 authored by Jonas Verhoelen's avatar Jonas Verhoelen

restructure

parent e84d2f38
Pipeline #33923 failed with stages
in 1 minute and 41 seconds
...@@ -5,24 +5,18 @@ variables: ...@@ -5,24 +5,18 @@ variables:
GITLAB_CI_USER_NAME: jverhoelen GITLAB_CI_USER_NAME: jverhoelen
stages: stages:
- security-and-setup - scan-and-setup
- test - test
- dockerize - dockerize
# SECURITY CHECKS & SETUP # SCAN DEPENDENCIES & SETUP
npm-audit-security-check: npm-audit-security-check:
stage: security-and-setup stage: scan-and-setup
script: npm audit script: npm audit
retire-security-check:
stage: security-and-setup
script:
- npm install -g retire
- retire -p
install-dependencies: install-dependencies:
stage: security-and-setup stage: scan-and-setup
script: npm install --progress=false script: npm install --progress=false
cache: cache:
paths: paths:
...@@ -30,6 +24,12 @@ install-dependencies: ...@@ -30,6 +24,12 @@ install-dependencies:
# TEST # TEST
retire-security-check:
stage: test
script:
- npm install -g retire
- retire -p
lint: lint:
stage: test stage: test
script: npm run lint script: npm run lint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment