ci(gitlab): install hexo globally (test)

This commit is contained in:
MDLeom 2020-05-16 07:30:24 +01:00
parent 3ad22a8471
commit 829e1aa47b
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 4 additions and 4 deletions

View File

@ -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: