From 19b393a140094c9edf68f23a49b4ec899b237c04 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 28 Apr 2026 22:56:22 +0800 Subject: [PATCH] fix: remove npm update step causing MODULE_NOT_FOUND in CI The Node 22.22.2 runner has a corrupted npm installation missing the promise-retry module. Removing the unnecessary 'npm install -g npm@latest' step since setup-node@v4 already provides a working npm. --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7191b3..7e275e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,6 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: 'npm' - - name: Update npm to latest - run: npm install -g npm@latest - - - name: Check npm version - run: npm --version - - name: Install dependencies run: npm ci