From f6b2e9813cd96ed0f6d3b7009cae4071cfea1304 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 16 May 2020 06:50:41 +0100 Subject: [PATCH] ci(gitlab): temporarily stop hexo - to upload npm cache - remove snyk from netlify --- .gitlab-ci.yml | 4 ++-- netlify.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 093221e..191d1f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:12 +image: node:alpine # Use latest version of Node.js on Alpine cache: # add cache to 'node_modules' for speeding up builds paths: @@ -11,7 +11,7 @@ test: script: - npm install --only=prod snyk && npm run snyk # Refer to "scripts" in package.json - - npm run hexo + # - npm run hexo # Update github mirror after_script: diff --git a/netlify.toml b/netlify.toml index d26edab..044bf74 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [context.production] publish = "public" - command = "npm install --only=prod --no-save snyk && npm run snyk && npm run hexo" + command = "npm run hexo"