Skip to content

Commit

Permalink
fix(ci): fix canary release not working with yarn
Browse files Browse the repository at this point in the history
Bug and fix as seen in issue yarnpkg/yarn#6313
  • Loading branch information
smithad15 committed Jan 8, 2019
1 parent 9c8d034 commit 38d9ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run: yarn release:canary --yes
- run: npm run release:canary --yes

release_stable:
<<: *defaults
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:store": "ng-packagr -p packages/store",
"build:form": "ng-packagr -p packages/form",
"build:router": "ng-packagr -p packages/router",
"release:canary": "lerna publish --canary --npm-tag next",
"release:canary": "lerna publish --canary --npm-tag next --npm-client npm",
"release:stable": "lerna version",
"release:stable:ci": "lerna publish from-git",
"clean": "npm-run-all -p clean:*",
Expand Down

0 comments on commit 38d9ea6

Please sign in to comment.