Skip to content

Commit

Permalink
Try to fix GHA release
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Apr 16, 2024
1 parent 9beb29c commit 612f1cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: corepack npm run release:local
publish: npm run release:local
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@tus:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"format": "turbo run format",
"test": "turbo run test",
"release": "gh workflow run release",
"release:local": "turbo run build && npx changeset publish"
"release:local": "turbo run build && npx changeset version && npx changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down

0 comments on commit 612f1cf

Please sign in to comment.