Loading .gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -24,9 +24,8 @@ before_script: - npm ci --cache node_modules/ --prefer-offline # # monorepo users: run secondary install actions # - npx lerna bootstrap -- --cache .npm/ --prefer-offline - npm run build build: lint: stage: build # global cache settings are inherited to grab `node_modules` script: Loading @@ -35,12 +34,13 @@ build: paths: - dist/ # where ever your build results are stored pages: build: stage: deploy when: on_success # only if previous stages' jobs all succeeded # override inherited cache settings since node_modules is not needed script: - mv dist public - npm run build - cp -a dist/. public/ artifacts: paths: - public Loading Loading
.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -24,9 +24,8 @@ before_script: - npm ci --cache node_modules/ --prefer-offline # # monorepo users: run secondary install actions # - npx lerna bootstrap -- --cache .npm/ --prefer-offline - npm run build build: lint: stage: build # global cache settings are inherited to grab `node_modules` script: Loading @@ -35,12 +34,13 @@ build: paths: - dist/ # where ever your build results are stored pages: build: stage: deploy when: on_success # only if previous stages' jobs all succeeded # override inherited cache settings since node_modules is not needed script: - mv dist public - npm run build - cp -a dist/. public/ artifacts: paths: - public Loading