Commit 141aed82 authored by William Naslund's avatar William Naslund

Added npmrc for CI deploy

parent 050948a4
......@@ -68,8 +68,9 @@ NPM Publish Alpha:
stage: deploy
image: node:11
only:
- tags
- /^\d+\.\d+\.\d+\-alpha\.\d+$/
except:
- branches
script:
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --tag alpha --access public
......@@ -78,8 +79,9 @@ NPM Publish Beta:
stage: deploy
image: node:11
only:
- tags
- /^\d+\.\d+\.\d+\-beta\.\d+$/
except:
- branches
script:
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --tag beta --access public
......@@ -88,8 +90,9 @@ NPM Publish Release:
stage: deploy
image: node:11
only:
- tags
- /^\d+\.\d+\.\d+$/
except:
- branches
script:
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --access public
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment