Skip to content

Commit bdc9e18

Browse files
committed
👷 Publish npm package with provenance
Fixes #51 REDMINE-100208
1 parent 40116b3 commit bdc9e18

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/publish.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
publish:
1212
needs: "build"
1313
runs-on: ubuntu-latest
14+
permissions:
15+
id-token: write
1416

1517
steps:
1618
- name: Checkout
@@ -29,6 +31,6 @@ jobs:
2931
run: npm run build
3032

3133
- name: Publish to npm
32-
run: npm publish --access public
34+
run: npm publish --access public --provenance
3335
env:
3436
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 commit comments

Comments
 (0)