Skip to content

Commit

Permalink
Simplify lerna commands in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyrb committed Aug 14, 2019
1 parent dabc948 commit 58fa26b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"message": "chore(release): publish"
},
"version": {
"allowBranch": "master",
"conventionalCommits": true,
"createRelease": "github",
"yes": true,
Expand Down
3 changes: 2 additions & 1 deletion maintainer-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58fa26b

Please sign in to comment.