Skip to content

Commit 3847b9a

Browse files
committed
build: github actions fix
1 parent c72d527 commit 3847b9a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ jobs:
2323
- name: Install pnpm
2424
uses: pnpm/action-setup@v2
2525
with:
26-
version: 9.x
26+
version: 9
27+
28+
- name: Create .npmrc file
29+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
2730

2831
- name: Create Release Pull Request
2932
uses: changesets/action@v1
3033
with:
31-
version: pnpm version
34+
version: pnpm packages-version
3235
publish: pnpm publish
3336
env:
3437
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "turbo run test",
1010
"test:watch": "turbo run test:watch",
1111
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
12-
"version": "changeset version",
12+
"packages-version": "changeset version",
1313
"publish": "changeset publish"
1414
},
1515
"devDependencies": {

0 commit comments

Comments
 (0)