ci(gitlab): install hexo-cli globally

This commit is contained in:
MDLeom 2020-05-16 06:14:08 +01:00
parent 755e16c5de
commit 1e3c0bb778
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ cache: # add cache to 'node_modules' for speeding up builds
test:
before_script:
- 'which ssh-agent || (apk update && apk add openssh-client git)'
- npm install --only=prod -g hexo-cli@hexojs/hexo-cli
- npm install --only=prod
script: