Skip to content

Commit b773afd

Browse files
authored
Update release.yml for new npm publish flow
https://docs.npmjs.com/trusted-publishers
1 parent 274e8a2 commit b773afd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
schedule:
44
- cron: '0 2 * * *'
55
workflow_dispatch:
6+
permissions:
7+
id-token: write
8+
contents: read
69
jobs:
710
test:
811
uses: ./.github/workflows/test.yml
@@ -21,6 +24,3 @@ jobs:
2124
patch-file: zig.patch
2225
- run: npm install --ignore-scripts
2326
- run: npm run release
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 commit comments

Comments
 (0)