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:
|
||||
before_script:
|
||||
- 'which ssh-agent || (apk update && apk add openssh-client git)'
|
||||
- npm install -g pnpm
|
||||
- pnpm install
|
||||
- npm install -g hexo-cli
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- pnpm install snyk && pnpm run snyk # Refer to "scripts" in package.json
|
||||
- pnpm run hexo
|
||||
# - npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
||||
- hexo generate
|
||||
|
||||
# Update github mirror
|
||||
after_script:
|
||||
|
|
Loading…
Reference in New Issue