Skip to content

Commit

Permalink
ci(changesets): enable package publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Jul 22, 2024
1 parent 20fd94d commit 6bb4cea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changesets-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
title: "chore(release): version packages"
commit: "chore(release): version packages [skip ci]"
# This expects you to have a script called release which does a build for your packages and calls `changeset publish`
# publish: yarn ci-publish
publish: yarn ci-publish
# This expects you to have a script called version that runs some logic and then calls `changeset version`.
# version: yarn changeset version
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
#NPM_TOKEN: ${{ env.NPM_TOKEN }}
NPM_TOKEN: ${{ env.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"build": "lerna exec -- yarn build",
"clean": "lerna exec --parallel -- yarn clean && lerna clean --yes",
"changeset": "changeset",
"ci-publish": "yarn build && lerna publish from-package --y --no-private",
"lerna-publish": "yarn build && lerna publish --no-private",
"lerna-publish-from-git": "yarn build && lerna publish from-git --no-private",
"lerna-publish-from-package": "yarn build && lerna publish from-package --no-private",
"ci-publish": "yarn lerna-publish-from-package --yes",
"lerna-publish": "yarn build && yarn lint && yarn test && lerna publish --no-private",
"lerna-publish-from-git": "yarn build && yarn lint && yarn test && lerna publish from-git --no-private",
"lerna-publish-from-package": "yarn build && yarn lint && yarn test && lerna publish from-package --no-private",
"lint": "lerna exec -- yarn lint",
"pre-push": "lerna exec -- yarn pre-push",
"prepare": "husky install",
Expand Down

0 comments on commit 6bb4cea

Please sign in to comment.