From 5a0ce6acc1dab99698db73315215322d922dfde3 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Mon, 25 Mar 2024 00:12:11 +0100 Subject: [PATCH] fix(npm): fix authenticating for `yarn npm publish` (#574) --- .github/workflows/cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4dd587ba70..ef1f720cb8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -304,6 +304,8 @@ jobs: shell: bash working-directory: npm/git-cliff run: | + yarn config set npmAuthToken ${NODE_AUTH_TOKEN} + yarn config set npmPublishRegistry "https://registry.npmjs.org" yarn install yarn build cp ../../README.md .