From ee9bbaf53a3fdf8f16838351cc96c644362cce49 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Tue, 9 Jul 2024 12:24:26 +0200 Subject: [PATCH] ci: fix setting up credentials to publish a release to npm --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bfcb04b..6e178c6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -116,9 +116,11 @@ jobs: - build steps: + # actions/setup-node creates an .npmrc file that references NODE_AUTH_TOKEN - uses: actions/setup-node@v4 with: node-version: "lts/*" + registry-url: https://registry.npmjs.org - name: Download artifacts from build uses: actions/download-artifact@v4