Skip to content

Commit

Permalink
Add provenance support
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Jan 3, 2025
1 parent 481f27b commit 2978962
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@ on:

jobs:
npm-publish:
uses: hemilabs/actions/.github/workflows/npm-publish.yml@main
secrets: inherit
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.fetch-depth }}
- uses: hemilabs/actions/setup-node-env@main
- run: npm run --if-present prepublishOnly
- uses: JS-DevTools/npm-publish@9ff4ebfbe48473265867fb9608c047e7995edfa3 # v3.1.1
with:
token: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
provenance=true

0 comments on commit 2978962

Please sign in to comment.