Skip to content

Commit 612f1cf

Browse files
committed
Try to fix GHA release
1 parent 9beb29c commit 612f1cf

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: changesets
3131
uses: changesets/action@v1
3232
with:
33-
publish: corepack npm run release:local
33+
publish: npm run release:local
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@tus:registry=https://registry.npmjs.org/
2+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"format": "turbo run format",
1616
"test": "turbo run test",
1717
"release": "gh workflow run release",
18-
"release:local": "turbo run build && npx changeset publish"
18+
"release:local": "turbo run build && npx changeset version && npx changeset publish"
1919
},
2020
"devDependencies": {
2121
"@changesets/cli": "^2.27.1",

0 commit comments

Comments
 (0)