Skip to content

Commit

Permalink
ci: 🎡 update pipline to publish and script release
Browse files Browse the repository at this point in the history
upate pipeline to publish and script to release

BREAKING CHANGE: 🧨 none

✅ Closes: none
  • Loading branch information
JonathonRP committed Oct 13, 2024
1 parent 8a4059d commit 4637380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
pull-requests: write # to create pull request (changesets/action)

jobs:
release:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: bun --bun ci:publish
publish: bun --bun release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test:types": "vitest --typecheck.only",
"test:ui": "vitest --ui",
"test:types:ui": "vitest --ui",
"ci:publish": "bun --bun run build && bun --bun publish --auth-type legacy"
"release": "bun --bun run build && bun --bun changeset publish"
},
"dependencies": {
"framesync": "^6.1.2",
Expand Down

0 comments on commit 4637380

Please sign in to comment.