From 075e4fadbe3884381a76ed750ccdeb9e0c245f1a Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Tue, 3 Feb 2026 09:38:55 -0600 Subject: [PATCH] Use npx for npm version instead of global installation --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01015bbae..910c64c49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,8 +53,6 @@ jobs: with: node-version: ${{ env.NODE }} registry-url: https://registry.npmjs.org/ - - name: Install npm 11.5.1+ for trusted publishing - run: npm install -g npm@^11.5.1 - run: yarn # Clean up any stale version tags left from failed release runs. @@ -94,7 +92,7 @@ jobs: - name: Publish package to NPM run: | yarn buildlib - npm publish + npx npm@^11.5.1 publish - name: Repository Dispatch uses: peter-evans/repository-dispatch@v3 with: