Skip to content

Commit

Permalink
ci: publish npm package with provenance statement (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Sep 9, 2024
1 parent 93e537b commit 5a31dc3
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 5a31dc3

Please sign in to comment.