diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8368d4..d76156e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ jobs: build: runs-on: ubuntu-latest + permissions: + contents: write # Required to publish a release via GitHub + 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 e312876..28e0f43 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "typescript": "^4.7.4" }, "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "repository": { "type": "git",