Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
28bde76ddd | |||
7a8b87530c | |||
4094badb20 |
@ -19,18 +19,22 @@ jobs:
|
||||
- run: npm run build
|
||||
- run: npm run build:dev
|
||||
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
||||
- run: npm publish --tag "${CIRCLE_TAG}" --access public
|
||||
- run: npm version --no-git-tag-version --force "${CIRCLE_TAG}"
|
||||
- run: npm publish --access public
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
test_and_publish:
|
||||
jobs:
|
||||
- test
|
||||
- test:
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
- build_and_publish:
|
||||
requires:
|
||||
- test
|
||||
filters:
|
||||
tags:
|
||||
only: /^\d+\.\d+\.\d+$/
|
||||
only: /.*/
|
||||
branches:
|
||||
ignore: /.*/
|
Reference in New Issue
Block a user