From 4af927f218c468b7cba01c52ae62161575fd67c1 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Wed, 22 Oct 2025 16:59:10 +0800 Subject: [PATCH] fix: action --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be8ea59..16e6a85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,12 @@ jobs: uses: actions/setup-node@v6 with: node-version: 20 - cache: 'npm' registry-url: 'https://registry.npmjs.org' + # Ensure npm 11.5.1 or later is installed + - name: Update npm + run: npm install -g npm@latest + - name: Install dependencies run: npm ci