Skip to content

Commit

Permalink
Correct realease scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Nov 1, 2023
1 parent 710f3e9 commit 7c15c2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
version: pnpm run changeset version && pnpm i --no-frozen-lockfile && git add .
publish: pnpm run build && pnpm run changeset publish
version: pnpm run version
publish: pnpm run publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"build-test:packages": "turbo run build test:unit test:types --filter=./packages/*",
"build-test": "pnpm run build-test:packages && pnpm run test:lint && pnpm run test:e2e",
"format": "prettier -w ./{packages,examples}/**/*.{js,ts,json,css,tsx,jsx} --ignore-path .gitignore",
"changeset": "changeset"
"changeset": "changeset",
"version": "pnpm run changeset version && pnpm i --no-frozen-lockfile && git add .",
"publish": "pnpm run build && pnpm run changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
Expand Down

0 comments on commit 7c15c2c

Please sign in to comment.