Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Nicolai Ort | 0ad2542742 |
|
@ -1,24 +0,0 @@
|
||||||
image: node:14
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- publish
|
|
||||||
|
|
||||||
# Install the dependencies
|
|
||||||
before_script:
|
|
||||||
- npm install
|
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- node_modules/
|
|
||||||
|
|
||||||
# Build the image and publish it to the npmjs registry.
|
|
||||||
publish:
|
|
||||||
stage: publish
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
- triggers
|
|
||||||
script:
|
|
||||||
- npm version from-git
|
|
||||||
- npm run build
|
|
||||||
- echo '//registry.npmjs.org/:_authToken=$NPM_TOKEN'>.npmrc
|
|
||||||
- npm publish --access public
|
|
Loading…
Reference in New Issue