Skip to content

Commit

Permalink
trying to publish with provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-gorter committed Jan 31, 2024
1 parent f9dfee5 commit d56dfa7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -28,3 +26,10 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run ci
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
provenance: true

permissions:
id-token: write

0 comments on commit d56dfa7

Please sign in to comment.