diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1128296..9360876 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ cache: stages: - mirror +- security - test - release - trigger @@ -20,6 +21,15 @@ mirror: tags: - docker +security: + stage: security + script: + - npmci command yarn global add snyk + - npmci command yarn install --ignore-scripts + - npmci command snyk test + tags: + - docker + testLEGACY: stage: test script: diff --git a/npmextra.json b/npmextra.json index a15880e..9dd1c3f 100644 --- a/npmextra.json +++ b/npmextra.json @@ -3,7 +3,7 @@ "mode": "default" }, "npmci": { - "globalNpmTools": [ + "npmGlobalTools": [ "npmts" ] }