Simplify lerna commands in CI

This commit is contained in:
dannyrb 2019-08-14 08:49:19 -04:00
parent dabc948f4c
commit 58fa26b5ac
3 changed files with 5 additions and 5 deletions

View File

@ -167,10 +167,8 @@ jobs:
name: Authenticate with registry
command:
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
npx lerna version --allow-branch monorepo --conventional-commits
--conventional-prerelease=* --create-release github
- run: npx lerna publish from-package --canary --dist-tag canary
- run: npx lerna version
- run: npx lerna publish from-package
# Persist :+1:
- persist_to_workspace:

View File

@ -9,6 +9,7 @@
"message": "chore(release): publish"
},
"version": {
"allowBranch": "master",
"conventionalCommits": true,
"createRelease": "github",
"yes": true,

View File

@ -27,13 +27,14 @@ yarn add --dev -W package-name
## ORBS
- Cypress: https://circleci.com/orbs/registry/orb/cypress-io/cypress
- Slack: https://circleci.com/orbs/registry/orb/circleci/slack
- GCP: https://circleci.com/orbs/registry/orb/circleci/gcp-cli
- Browser Tools: https://circleci.com/orbs/registry/orb/circleci/browser-tools
- Multi-Repo: https://circleci.com/orbs/registry/orb/dnephin/multirepo
- PR Comment: https://circleci.com/orbs/registry/orb/benjlevesque/pr-comment
Debug Note: `http://localhost:3000/webpack-dev-server`
NOTES:
# bumps pre-release version of all packages if any changes