Skip to content

Commit 90564d3

Browse files
committed
fix(ci): fix canary release not working with yarn (#62)
Bug and fix as seen in issue yarnpkg/yarn#6313
1 parent 55b15a6 commit 90564d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
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 --yes
8989

9090
release_stable:
9191
<<: *defaults

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)