This repository was archived by the owner on Mar 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ stages:
33 # - test
44 - npm-publish
55
6- variables :
7- VERSION : $(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
8-
9- build_app :
10- stage : build
11- before_script :
12- - npm install
13- script :
14- - cd projects/material-calendar/ && npm install
15- - ng build material-calendar --prod
16- artifacts :
17- expire_in : 1 day
18- paths :
19- - dist/
20- tags :
21- - node
22-
6+ variables :
7+ VERSION : $(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
8+
9+ build_app :
10+ stage : build
11+ before_script :
12+ - npm install
13+ script :
14+ - cd projects/material-calendar/ && npm install
15+ - ng build material-calendar --prod
16+ artifacts :
17+ expire_in : 1 day
18+ paths :
19+ - dist/
20+ tags :
21+ - node
22+
2323 # test:karma:chrome:
2424 # stage: test
2525 # allow_failure: false
@@ -48,14 +48,14 @@ stages:
4848 # tags:
4949 # - ng-test
5050
51- build-image :
52- stage : npm-publish
53- script :
54- - touch .npmrc
55- - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
56- - cd dist/material-calendar
57- - npm publish
58- - rm .npmrc
59- tags :
60- - docker-build
51+ build-image :
52+ stage : npm-publish
53+ script :
54+ - touch .npmrc
55+ - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
56+ - cd dist/material-calendar
57+ - npm publish
58+ - rm .npmrc
59+ tags :
60+ - docker-build
6161
You can’t perform that action at this time.
0 commit comments