Skip to content

Commit e0fc8b2

Browse files
committed
fix release workflow
1 parent 82e5210 commit e0fc8b2

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
id: changesets
2525
uses: changesets/action@v1
2626
with:
27-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
28-
publish: pnpm release
27+
publish: pnpm run release
28+
version: pnpm run version
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"prettier": "prettier --check '**/*.ts'",
1515
"prettier!": "prettier --write '**/*.ts'",
1616
"clean": "turbo run clean",
17-
"release": "pnpm build && pnpm changeset publish",
17+
"release": "pnpm build && changeset publish",
18+
"version": "changeset version && pnpm i --frozen-lockfile=false",
1819
"setup": "turbo run setup"
1920
},
2021
"workspaces": [

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)