Skip to content

Commit 957656a

Browse files
committed
fix ci
1 parent 02c9c7a commit 957656a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/publish.yml

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

911
jobs:
1012
publish:
@@ -17,8 +19,8 @@ jobs:
1719
- name: Setup Node.js
1820
uses: actions/setup-node@v4
1921
with:
20-
node-version: '20'
21-
registry-url: 'https://registry.npmjs.org'
22+
node-version: "20"
23+
registry-url: "https://registry.npmjs.org"
2224

2325
- name: Get version from tag
2426
id: version

0 commit comments

Comments
 (0)