Skip to content

Commit f7e6832

Browse files
committed
chore(release): fix scripts to actually publish packages
1 parent fc84521 commit f7e6832

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: changesets
2828
uses: changesets/action@v1
2929
with:
30-
publish: npm run prerelease
30+
publish: npm run release
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"packages/*"
1616
],
1717
"scripts": {
18-
"prerelease": "npx turbo lint test build"
18+
"prerelease": "turbo lint test build",
19+
"release": "changeset publish"
1920
}
2021
}

0 commit comments

Comments
 (0)