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 a3cd151 commit b90d626
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 @@ -21,7 +21,7 @@
"build": "tsc && rm -rf dist && mv temp/src dist && rm -rf temp",
"lint": "eslint --ignore-path .gitignore .",
"test": "jest",
"trypublish": "npm publish || true"
"trypublish": "npm publish --provenance || true"
},
"bin": {
"pdf2img": "./bin/cli.mjs"
Expand Down

0 comments on commit b90d626

Please sign in to comment.