mirror of https://gitlab.com/curben/blog
ci(gitlab): install hexo globally (test)
This commit is contained in:
parent
3ad22a8471
commit
829e1aa47b
|
@ -10,12 +10,12 @@ variables:
|
||||||
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 -g hexo-cli
|
||||||
- pnpm install
|
- npm install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pnpm install snyk && pnpm run snyk # Refer to "scripts" in package.json
|
# - npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
||||||
- pnpm run hexo
|
- hexo generate
|
||||||
|
|
||||||
# Update github mirror
|
# Update github mirror
|
||||||
after_script:
|
after_script:
|
||||||
|
|
Loading…
Reference in New Issue