Skip to content

Commit f161c74

Browse files
committed
ci: enable npm publishing
1 parent 6a65a3b commit f161c74

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

10+
permissions:
11+
id-token: write # Required for OIDC
12+
contents: read
13+
1014
jobs:
1115
release:
1216
name: Release
@@ -23,11 +27,15 @@ jobs:
2327
with:
2428
node-version-file: .node-version
2529
cache: "pnpm"
30+
registry-url: "https://registry.npmjs.org"
2631

2732
- name: Install Dependencies
2833
run: pnpm install
2934

3035
- name: Create Release Pull Request
3136
uses: changesets/action@v1
37+
with:
38+
publish: pnpm publish
3239
env:
3340
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
NPM_TOKEN: ""

0 commit comments

Comments
 (0)