Skip to content

Commit 9ca4df0

Browse files
authored
chore(🔐): Add support for npm provenance (#2921)
1 parent d80ab70 commit 9ca4df0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: .github/workflows/build-npm.yml

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on: workflow_dispatch
33
jobs:
44
build:
55
runs-on: ubuntu-latest
6+
permissions:
7+
contents: write # to be able to publish a GitHub release
8+
issues: write # to be able to comment on released issues
9+
pull-requests: write # to be able to comment on released pull requests
10+
id-token: write # to enable use of OIDC for npm provenance
611
env:
712
WORKING_DIRECTORY: ./
813
INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}

Diff for: packages/skia/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "@shopify/react-native-skia",
33
"publishConfig": {
4-
"access": "public"
4+
"access": "public",
5+
"provenance": true
56
},
67
"bin": {
78
"setup-skia-web": "./scripts/setup-canvaskit.js"

0 commit comments

Comments
 (0)