From 2903eaaef2515be29293d63611495e46ae2f11de Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sun, 24 Mar 2024 23:06:16 +0100 Subject: [PATCH] ci: fix authenticating for `yarn npm publish` --- .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 .