From 6ea63710eec571e6b6755c592cb2d64f730c5e67 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 16 May 2020 07:14:06 +0100 Subject: [PATCH] Revert "ci(gitlab): switch npm to pnpm" This reverts commit ff62fb9ad4a7b59213905dca60592aebebd97457. --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9ee615..1e8cfd5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,11 @@ cache: # add cache to 'node_modules' for speeding up builds test: before_script: - 'which ssh-agent || (apk update && apk add openssh-client git)' - - npm install -g pnpm - - pnpm install + - npm install --only=prod script: - - pnpm install snyk && pnpm run snyk # Refer to "scripts" in package.json - - pnpm run hexo + - npm install --only=prod snyk && npm run snyk # Refer to "scripts" in package.json + - npm run hexo # Update github mirror after_script: