mirror of https://gitlab.com/curben/blog
parent
6ea63710ee
commit
871b9965bb
|
@ -7,10 +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 npm
|
||||||
- npm install --only=prod
|
- npm install --only=prod
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm install --only=prod snyk && npm run snyk # Refer to "scripts" in package.json
|
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
||||||
- npm run hexo
|
- npm run hexo
|
||||||
|
|
||||||
# Update github mirror
|
# Update github mirror
|
||||||
|
|
Loading…
Reference in New Issue