Skip to content

Commit

Permalink
add publish-packages script
Browse files Browse the repository at this point in the history
  • Loading branch information
freisenhauer committed Oct 12, 2024
1 parent cde0cb4 commit a97157f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: 🚀 Create and publish versions
uses: changesets/action@v1
with:
publish: pnpm release
publish: pnpm publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"test": "turbo test",
"lint": "turbo lint",
"format": "turbo format",
"changeset": "pnpm dlx @changesets/cli"
"changeset": "pnpm dlx @changesets/cli",
"publish-packages": "turbo run build lint test && changeset version && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.9",
Expand Down

0 comments on commit a97157f

Please sign in to comment.