diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26bf3c73597c964b25fab80e03dd25cf4633643b..671ce830f4542aa997c2acc467f7024d45d31284 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