Simplify lerna commands in CI
This commit is contained in:
parent
dabc948f4c
commit
58fa26b5ac
@ -167,10 +167,8 @@ jobs:
|
|||||||
name: Authenticate with registry
|
name: Authenticate with registry
|
||||||
command:
|
command:
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
|
||||||
- run:
|
- run: npx lerna version
|
||||||
npx lerna version --allow-branch monorepo --conventional-commits
|
- run: npx lerna publish from-package
|
||||||
--conventional-prerelease=* --create-release github
|
|
||||||
- run: npx lerna publish from-package --canary --dist-tag canary
|
|
||||||
|
|
||||||
# Persist :+1:
|
# Persist :+1:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
"message": "chore(release): publish"
|
"message": "chore(release): publish"
|
||||||
},
|
},
|
||||||
"version": {
|
"version": {
|
||||||
|
"allowBranch": "master",
|
||||||
"conventionalCommits": true,
|
"conventionalCommits": true,
|
||||||
"createRelease": "github",
|
"createRelease": "github",
|
||||||
"yes": true,
|
"yes": true,
|
||||||
|
|||||||
@ -27,13 +27,14 @@ yarn add --dev -W package-name
|
|||||||
|
|
||||||
## ORBS
|
## ORBS
|
||||||
|
|
||||||
- Cypress: https://circleci.com/orbs/registry/orb/cypress-io/cypress
|
|
||||||
- Slack: https://circleci.com/orbs/registry/orb/circleci/slack
|
- Slack: https://circleci.com/orbs/registry/orb/circleci/slack
|
||||||
- GCP: https://circleci.com/orbs/registry/orb/circleci/gcp-cli
|
- GCP: https://circleci.com/orbs/registry/orb/circleci/gcp-cli
|
||||||
- Browser Tools: https://circleci.com/orbs/registry/orb/circleci/browser-tools
|
- Browser Tools: https://circleci.com/orbs/registry/orb/circleci/browser-tools
|
||||||
- Multi-Repo: https://circleci.com/orbs/registry/orb/dnephin/multirepo
|
- Multi-Repo: https://circleci.com/orbs/registry/orb/dnephin/multirepo
|
||||||
- PR Comment: https://circleci.com/orbs/registry/orb/benjlevesque/pr-comment
|
- PR Comment: https://circleci.com/orbs/registry/orb/benjlevesque/pr-comment
|
||||||
|
|
||||||
|
Debug Note: `http://localhost:3000/webpack-dev-server`
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
|
|
||||||
# bumps pre-release version of all packages if any changes
|
# bumps pre-release version of all packages if any changes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user