diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e8cfd5..f21a823 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: