Skip to content

Commit c7c5fec

Browse files
authored
ci: publish npm package with provenance statement (#130)
1 parent fc660f0 commit c7c5fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/publish.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { getOtp } = require('@continuous-auth/client')
33
const { spawnSync } = require('child_process')
44

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

0 commit comments

Comments
 (0)