From cd0f24ba5f8893839f3736d82c616f6b6393e45d Mon Sep 17 00:00:00 2001 From: Amos Laboso Date: Fri, 19 Jan 2024 15:52:14 +0300 Subject: [PATCH] Added auth for publish to npm (#1775) (#1776) --- .github/workflows/node.master.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.master.js.yml b/.github/workflows/node.master.js.yml index 7bcf8df56..0671686b6 100644 --- a/.github/workflows/node.master.js.yml +++ b/.github/workflows/node.master.js.yml @@ -79,7 +79,7 @@ jobs: run: yarn install --immutable - name: Publish to NPM - run: yarn run ci:publish + run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:publish env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}