mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 10:14:21 +01:00
github: Fix JavaScript publish workflow permissions
The workflow enables npm's provenance feature, which requires write permissions to the "id-token" on Github actions: https://tsmx.net/npmjs-built-and-signed-on-github-actions/
This commit is contained in:
3
.github/workflows/napi.yml
vendored
3
.github/workflows/napi.yml
vendored
@@ -205,6 +205,9 @@ jobs:
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
needs:
|
||||
- test-macOS-windows-binding
|
||||
- test-linux-x64-gnu-binding
|
||||
|
||||
Reference in New Issue
Block a user