diff --git a/.github/workflows/publish-platform.yml b/.github/workflows/publish-platform.yml index ca7666c6..0631e53d 100644 --- a/.github/workflows/publish-platform.yml +++ b/.github/workflows/publish-platform.yml @@ -192,7 +192,12 @@ jobs: if: steps.check.outputs.skip != 'true' with: node-version: "24" - registry-url: "https://registry.npmjs.org" + + - name: Configure npm for OIDC publishing + if: steps.check.outputs.skip != 'true' + run: | + echo "registry=https://registry.npmjs.org/" > ~/.npmrc + echo "//registry.npmjs.org/:_authToken=" >> ~/.npmrc - name: Publish ${{ matrix.platform }} if: steps.check.outputs.skip != 'true'