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 4e0d97d commit d47f847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: [push]
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 @@ -30,7 +30,7 @@
"lint": "eslint --format pretty --ext .js,ts,.tsx --ignore-path .gitignore .",
"test": "tsc && jest --runInBand",
"build": "tsc index.js browser/index.js --declaration --allowJs --emitDeclarationOnly --resolveJsonModule",
"trypublish": "npm publish || true"
"trypublish": "npm publish --provenance || true"
},
"dependencies": {
"express-ws": "^5.0.2",
Expand Down

0 comments on commit d47f847

Please sign in to comment.