Skip to content

Commit 0ae52b8

Browse files
committed
Fix ci
Fix ci
1 parent 72b03b9 commit 0ae52b8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Publish to npm
33
on:
44
push:
55
tags:
6-
- "v*.*.*"
6+
- "v*"
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
711

812
jobs:
913
publish:
@@ -28,7 +32,7 @@ jobs:
2832
uses: actions/setup-node@v4
2933
with:
3034
node-version: "20"
31-
registry-url: "https://registry.npmjs.org"
35+
registry-url: "https://registry.npmjs.org/"
3236

3337
- name: Publish to npm
3438
run: cd dist && npm publish --provenance

0 commit comments

Comments
 (0)