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