ci: remove unnecessary npm update

- updating Node also updates npm
This commit is contained in:
MDLeom 2020-05-04 11:31:30 +01:00
parent f09ef1d5bd
commit 1610386252
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ cache: # add cache to 'node_modules' for speeding up builds
- node_modules/ # Node modules and dependencies
before_script:
- npm install --only=prod -g npm
- npm install --only=prod
test:

View File

@ -1,3 +1,3 @@
[context.production]
publish = "public"
command = "npm install --only=prod -g npm && npm install --only=prod && npm install --only=prod snyk && npm run snyk && npm run hexo"
command = "npm install --only=prod && npm install --only=prod --no-save snyk && npm run snyk && npm run hexo"