From 56e8922768ea3c6663b6dcf82c39539f240fa278 Mon Sep 17 00:00:00 2001 From: s60171909 <31-s60171909@biblio19.net> Date: Thu, 12 Oct 2023 13:40:35 +0900 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26bf3c7..671ce83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,15 +19,15 @@ cache: before_script: # define cache dir & use it npm! - - npm ci --cache node_modules/ --prefer-offline + - npm ci --cache node_modules/ --prefer-offline # # monorepo users: run secondary install actions # - npx lerna bootstrap -- --cache .npm/ --prefer-offline + - npm run build build: stage: build # global cache settings are inherited to grab `node_modules` - script: - - npm run build + script: - npm run lint artifacts: paths: @@ -38,7 +38,7 @@ pages: when: on_success # only if previous stages' jobs all succeeded # override inherited cache settings since node_modules is not needed script: - mv dist public + - mv dist public artifacts: paths: - public -- GitLab