From cebb8b6dc868749b1f104049a95fa47a6f86ab2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Mon, 6 May 2024 09:43:43 +0200 Subject: [PATCH] Use env variable provenance. --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d31779..526e150 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,6 +18,7 @@ jobs: cache: 'yarn' - run: yarn install --immutable - run: yarn build - - run: yarn npm publish --provenance --access public + - run: yarn npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_CONFIG_PROVENANCE: true