From 7dbbf6d49484d81660fa06d7ccd31881346d7c34 Mon Sep 17 00:00:00 2001 From: Saiichi Hashimoto Date: Mon, 4 Nov 2024 14:00:04 -0600 Subject: [PATCH] chore(ci): attempting to fix npm token issue --- .github/workflows/checks.yml | 2 ++ .npmrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d296595e..72eba625 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -231,6 +231,8 @@ jobs: - run: npm config set workspaces-update false - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # HACK https://github.com/semantic-release/semantic-release/issues/2313#issuecomment-1004545613 + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx multi-semantic-release --ignore-private-packages lint: diff --git a/.npmrc b/.npmrc index 0135e56f..a882fb22 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,4 @@ access=public -# https://github.com/semantic-release/semantic-release/issues/2313#issuecomment-1879892664 +# HACK https://github.com/semantic-release/semantic-release/issues/2313#issuecomment-1879892664 registry=https://registry.npmjs.org/ save-exact=true \ No newline at end of file