diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 876ea41..62a2556 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,8 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + permissions: + id-token: write strategy: matrix: diff --git a/package.json b/package.json index 1d2f233..c592864 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "unit-tests": "jest -i", "test": "npm run lint && npm run build && npm run unit-tests", "prepublishOnly": "tsc", - "trypublish": "npm publish || true" + "trypublish": "npm publish --provenance || true" }, "main": "dist", "types": "dist/index.d.ts",