From 0a191f169ca37c449d7c2fe2df91e31a5250fca5 Mon Sep 17 00:00:00 2001 From: "Iain J. Reid" Date: Fri, 3 Nov 2023 21:35:37 +0000 Subject: [PATCH] chore(ci): Enable package provenance --- .github/workflows/build.yml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd14bd7..123aece 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ jobs: build: runs-on: ubuntu-latest + permissions: + id-token: write # Required for NPM provenance via OIDC + steps: - name: Checkout uses: actions/checkout@v3 diff --git a/package.json b/package.json index deac541..27a69e0 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "lib" ], "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "repository": { "type": "git",