From 6161cab510e46ae1dc0fc4a0ce322882ad34704a Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Mon, 5 Sep 2022 09:03:56 +0000 Subject: [PATCH] ci: snyk-protect - https://updates.snyk.io/snyk-wizard-and-snyk-protect-removal-224137 --- .gitlab-ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49b7d4a..723a1d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,7 +85,7 @@ renovate: # Check dependency update - npm install script: - - npm install snyk && npm run snyk + - npm install snyk @snyk/protect && npm run snyk - npm install renovate && npm run renovate # No artifact diff --git a/package.json b/package.json index 9cf4552..d235e6a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "scripts": { "build": "hexo generate", - "snyk": "snyk auth \"$SNYK_TOKEN\" && snyk protect && snyk test && snyk monitor", + "snyk": "snyk auth \"$SNYK_TOKEN\" && snyk-protect && snyk test && snyk monitor", "renovate": "renovate --token \"$BOT_TOKEN\" --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true --require-config false curben/blog" }, "dependencies": {