Loading .gitlab-ci.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line image: "node:16-alpine" stages: - build - test - deploy build: stage: build script: - yarn install --frozen-lockfile --check-files --non-interactive - yarn build artifacts: paths: - public pages: stage: deploy script: - echo 'Pages deployment job' artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH No newline at end of file Loading
.gitlab-ci.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line image: "node:16-alpine" stages: - build - test - deploy build: stage: build script: - yarn install --frozen-lockfile --check-files --non-interactive - yarn build artifacts: paths: - public pages: stage: deploy script: - echo 'Pages deployment job' artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH No newline at end of file