Created
January 18, 2019 21:57
-
-
Save gpollo/50ab7d252ec4700a94e871a17de9c7b1 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
image: trion/ng-cli-karma | |
stages: | |
- lint | |
- build | |
- test | |
cache: | |
paths: | |
- client/node_modules | |
- server/node_modules | |
lint: | |
stage: lint | |
script: | |
- cd client && npm run lint | |
- cd .. | |
- cd server && npm run lint | |
build: | |
stage: build | |
script: | |
- cd client && npm install && ng build | |
- cd .. | |
- cd server && npm install && npm build | |
test: | |
stage: test | |
script: | |
- cd client && ng test --watch=false --code-coverage --browsers ChromeHeadlessNoSandbox | |
- cd .. | |
- cd server && npm test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment