UNPKG

345 BYAMLView Raw
1image: node:9
2
3before_script:
4 - npm install grunt typescript -g
5 - npm install
6
7cache:
8 paths:
9 - node_modules/
10
11test:
12 script:
13 - grunt default
14
15publish:
16 stage: deploy
17 only:
18 - tags
19 - triggers
20 script:
21 - grunt default
22 - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
23 - npm publish --access public
\No newline at end of file