From c7c5fece521862fb79cf01b6f4f39036b517c60b Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 11 Sep 2024 14:33:29 -0700 Subject: [PATCH] ci: publish npm package with provenance statement (#130) --- script/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/publish.js b/script/publish.js index 4cd8776..82e4a80 100644 --- a/script/publish.js +++ b/script/publish.js @@ -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) }