Skip to content

Commit

Permalink
ci: publish npm package with provenance statement (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Sep 11, 2024
1 parent fc660f0 commit c7c5fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { getOtp } = require('@continuous-auth/client')
const { spawnSync } = require('child_process')

async function publish () {
const { status } = spawnSync('npm', ['publish', '--otp', await getOtp()])
const { status } = spawnSync('npm', ['publish', '--provenance', '--otp', await getOtp()])
process.exit(status)
}

Expand Down

0 comments on commit c7c5fec

Please sign in to comment.