Skip to content

Commit 65b5b9f

Browse files
committed
use changeset publish instead of manually publishing via pnpm
1 parent a3f51fe commit 65b5b9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
uses: changesets/action@v1
6969
with:
7070
createGithubReleases: false
71-
publish: pnpm run publish --tag ${{ github.ref_name == 'next' && 'next' || 'latest' }}
71+
publish: pnpm run publish
7272
version: pnpm run version
7373
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
7474
commit: >-

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build:demos": "pnpm --prefix demos run build:demos",
2424
"serve": "pnpm run build:demos && http-server ./demos/dist -s -p 3000",
2525
"build:ci": "turbo run build",
26-
"publish": "pnpm run build && pnpm publish -r --no-git-checks",
26+
"publish": "pnpm run build && pnpm changeset publish",
2727
"clean:packages": "rm -rf ./packages/*/dist && rm -rf ./packages/pm/*/dist && rm -rf ./packages-deprecated/*/dist",
2828
"clean:packs": "rm -rf ./packages/*/*.tgz && rm -rf ./packages-deprecated/*/*.tgz",
2929
"reset": "pnpm run clean:packages && pnpm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && pnpm install",

0 commit comments

Comments
 (0)