Skip to content

Commit 7c8057c

Browse files
committed
Update npmjs.yml
1 parent 388d33d commit 7c8057c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npmjs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: Upload to npmjs
22

33
on:
4-
# release:
5-
# types: [created]
64
push:
75
tags:
86
- "v*.*.*"
97

8+
permissions:
9+
id-token: write # For OIDC
10+
contents: read
11+
1012
jobs:
1113
build:
1214
runs-on: ubuntu-latest
@@ -19,5 +21,3 @@ jobs:
1921
registry-url: "https://registry.npmjs.org"
2022
- run: yarn
2123
- run: yarn publish
22-
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)