From 8541588be89e8c2fef726c5616f3bb531aa06554 Mon Sep 17 00:00:00 2001 From: Artyom Savchenko Date: Fri, 3 Jul 2026 17:39:08 +0700 Subject: [PATCH] Revert "Fix publish npm (#10950)" (#10951) This reverts commit 5bda0e790ab6a17a82aa19f3fc8d9d43008007a6. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2daf62ac0c..753708009e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -973,12 +973,12 @@ jobs: - name: Publish to npm env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_USERCONFIG: ${{ github.workspace }}/common/config/rush/.npmrc-publish run: | if [ -z "$NPM_TOKEN" ]; then echo "::error::NPM_TOKEN secret is not set. Add it in repository Settings > Secrets and variables > Actions." exit 1 fi - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc REF="${{ github.event.inputs.ref || github.ref }}" VERSION="${REF#refs/tags/v}" VERSION="${VERSION#v}"