mirror of https://gitlab.com/curben/blog
Revert "ci(gitlab): switch npm to pnpm"
This reverts commit ff62fb9ad4
.
This commit is contained in:
parent
ff62fb9ad4
commit
6ea63710ee
|
@ -7,12 +7,11 @@ cache: # add cache to 'node_modules' for speeding up builds
|
||||||
test:
|
test:
|
||||||
before_script:
|
before_script:
|
||||||
- 'which ssh-agent || (apk update && apk add openssh-client git)'
|
- 'which ssh-agent || (apk update && apk add openssh-client git)'
|
||||||
- npm install -g pnpm
|
- npm install --only=prod
|
||||||
- pnpm install
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pnpm install snyk && pnpm run snyk # Refer to "scripts" in package.json
|
- npm install --only=prod snyk && npm run snyk # Refer to "scripts" in package.json
|
||||||
- pnpm run hexo
|
- npm run hexo
|
||||||
|
|
||||||
# Update github mirror
|
# Update github mirror
|
||||||
after_script:
|
after_script:
|
||||||
|
|
Loading…
Reference in New Issue