From 90564d31d16f325109db028413248211cc093ef2 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Mon, 7 Jan 2019 20:33:54 -0500 Subject: [PATCH] fix(ci): fix canary release not working with yarn (#62) Bug and fix as seen in issue https://github.com/yarnpkg/yarn/issues/6313 --- .circleci/config.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5cc2df7e..1a638849 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 126f3fc1..c6d384c7 100644 --- a/package.json +++ b/package.json @@ -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:*",