Skip to content

Commit 5a31dc3

Browse files
authored
ci: publish npm package with provenance statement (#151)
1 parent 93e537b commit 5a31dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/publish.js

Lines changed: 1 addition & 1 deletion
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)