Skip to content

Commit dc3f6a7

Browse files
authored
Solved yarn publishing conflict
1 parent 5b09cd2 commit dc3f6a7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.circleci/config.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# fallback to using the latest cache if no exact match is found
3131
- v1-dependencies-
3232
- run: yarn install
33-
- run: yarn test
33+
- run: yarn build
3434
- run: yarn cover
3535

3636
deploy:
@@ -47,24 +47,27 @@ jobs:
4747
- run: yarn install
4848
- run: yarn build
4949
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/tmp/.npmrc
50-
- run: yarn version --new-version ${CIRCLE_TAG} --no-git-tag-version
51-
- run: yarn publish
50+
- run: yarn publish --new-version ${CIRCLE_TAG}
5251

5352
workflows:
5453
version: 2
5554
build:
5655
jobs:
5756
- build:
5857
filters:
58+
branches:
59+
ignore: master
5960
tags:
6061
ignore: /^\d+\.\d+\.\d+(\-\w*?\.\d+)?$/
62+
build_and_cover:
63+
jobs:
6164
- cover:
6265
filters:
6366
branches:
6467
only: master
6568
tags:
6669
ignore: /^\d+\.\d+\.\d+(\-\w*?\.\d+)?$/
67-
deploy:
70+
build_and_deploy:
6871
jobs:
6972
- deploy:
7073
filters:

0 commit comments

Comments
 (0)