Skip to content

Commit

Permalink
feat: release with npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Oct 5, 2024
1 parent a48f1bb commit 7123708
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,16 @@ jobs:
name: Release
needs: [lint, test, example-build]
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Audit Signatures
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"index.d.ts",
"src"
],
"publishConfig": {
"provenance": true
},
"scripts": {
"semantic-release": "semantic-release",
"test": "ava test/**/*.test.js",
Expand Down

0 comments on commit 7123708

Please sign in to comment.