From f1c36dcd316906c13454e21111425955d2fa01f7 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 9 Sep 2024 20:40:10 +0200 Subject: [PATCH] ci: add auth token to npm publish step --- .github/workflows/javascript.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 448385f..9e64a85 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -65,3 +65,5 @@ jobs: working-directory: dist/js/publish - run: npx napi prepublish -t . working-directory: dist/js/publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}