From 1e3c0bb7782892060b91682d3312b833e8309c18 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 16 May 2020 06:14:08 +0100 Subject: [PATCH] ci(gitlab): install hexo-cli globally --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) 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: