Simplify lerna commands in CI
This commit is contained in:
parent
dabc948f4c
commit
58fa26b5ac
@ -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:
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
"message": "chore(release): publish"
|
||||
},
|
||||
"version": {
|
||||
"allowBranch": "master",
|
||||
"conventionalCommits": true,
|
||||
"createRelease": "github",
|
||||
"yes": true,
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user