Created
March 14, 2022 15:25
-
-
Save lgastler/5068c2f38ccc6950e5ef36e71317a3c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- build | |
- prepare | |
- deploy | |
build: | |
stage: build | |
image: node:12 | |
environment: | |
name: stage | |
script: | | |
npm ci | |
npm run eslint:ci | |
npx nx affected:build --all --prod | |
only: | |
refs: | |
- develop | |
- master | |
changes: | |
- apps/backend/**/* | |
- libs/ui/**/* | |
- package.json | |
- package-lock.json | |
artifacts: | |
expire_in: 1 week | |
paths: | |
- dist/ | |
- apps/direflow/build | |
include: | |
- "/apps/backend/.gitlab-ci.yml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment