Skip to content

Commit

Permalink
set up npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed May 9, 2024
1 parent b494a9b commit d168174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d168174

Please sign in to comment.