Created
January 25, 2018 10:10
-
-
Save avatsaev/0845caf3ec6f84501ef75412774d5ae3 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: node:8.9.0 | |
stages: | |
- setup | |
- build | |
- tests | |
npm-install: | |
stage: setup | |
script: | |
- npm install | |
artifacts: | |
paths: | |
- node_modules | |
expire_in: 20 mins | |
app-build: | |
stage: build | |
dependencies: | |
- npm-install | |
artifacts: | |
paths: | |
- dist/ | |
script: | |
- npm run build:prod | |
lint: | |
stage: tests | |
dependencies: | |
- npm-install | |
script: | |
- npm run lint | |
unit: | |
image: avatsaev/node-chrome | |
stage: tests | |
dependencies: | |
- npm-install | |
script: | |
- npm run test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment