Skip to content

Commit

Permalink
refactor: streamline changeset script
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderjl committed Nov 19, 2024
1 parent 0d05ca7 commit 6cf930c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ jobs:
- name: install dependencies
run: pnpm install
- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
publish: pnpm ci:publish
run: pnpm ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
],
"scripts": {
"postinstall": "node ./scripts/postinstall.js",
"changeset": "changeset",
"dev:example": "pnpm --filter @tangled3/example-react dev",
"dev:example-next": "pnpm --filter @tangled3/example-next dev",
"build": "pnpm build:solana && pnpm build:react",
Expand All @@ -17,7 +18,7 @@
"build:example-next": "pnpm --filter @tangled3/example-next build",
"clean": "pnpm exec clean",
"ci:publish": "pnpm publish -r --access=restricted",
"ci:version": "pnpm changeset version",
"ci:release": "pnpm changeset version && pnpm ci:publish",
"prepare": "husky && husky install",
"lint": "eslint packages",
"lint:fix": "eslint packages --fix",
Expand Down

0 comments on commit 6cf930c

Please sign in to comment.