From f325479a11a9ca4fcfaf0d19ca1a98d0f88994e8 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 29 Jan 2018 23:53:58 +0100 Subject: [PATCH] update ci --- .gitlab-ci.yml | 10 ++++++++++ npmextra.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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" ] }