Skip to content

Commit d70e401

Browse files
committed
fix(ci): fix canary release not working with yarn
Bug and fix as seen in issue yarnpkg/yarn#6313
1 parent 9c8d034 commit d70e401

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- run:
8686
name: Authenticate with registry
8787
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
88-
- run: yarn release:canary --yes
88+
- run: npm run release:canary
8989

9090
release_stable:
9191
<<: *defaults
@@ -135,9 +135,9 @@ workflows:
135135
- lint
136136
- test
137137
- build
138-
filters:
139-
branches:
140-
only: master
138+
# filters:
139+
# branches:
140+
# only: master
141141
- release_stable:
142142
requires:
143143
- lint

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build:store": "ng-packagr -p packages/store",
1010
"build:form": "ng-packagr -p packages/form",
1111
"build:router": "ng-packagr -p packages/router",
12-
"release:canary": "lerna publish --canary --npm-tag next",
12+
"release:canary": "lerna publish --canary --npm-tag next --npm-client npm",
1313
"release:stable": "lerna version",
1414
"release:stable:ci": "lerna publish from-git",
1515
"clean": "npm-run-all -p clean:*",

0 commit comments

Comments
 (0)