Skip to content

Commit

Permalink
ci: 👷 add changeset cli
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecBlance committed Oct 20, 2024
1 parent ddddc31 commit 5a64f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: pnpm build
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload assets
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"build": "tsc -b && vite build",
"lint": "eslint . && tsc"
"lint": "eslint . && tsc",
"release": "pnpm run build && changeset publish"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.0",
Expand Down

0 comments on commit 5a64f35

Please sign in to comment.