diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index 4c9da500..8bfc38bb 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -11,9 +11,6 @@ jobs: - uses: actions/setup-node@v6 with: node-version-file: .nvmrc - # Ensure npm 11.5.1 or later is installed - - name: Update npm - run: npm install -g npm@latest - name: Install dependencies run: npm ci - name: Run code style checks diff --git a/package-lock.json b/package-lock.json index d3786c85..ec4e202e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ }, "engines": { "node": "^24", - "npm": "^11.6.1" + "npm": "^11.6.1, <11.6.3 || ^11.6.4, <11.12.0" } }, "node_modules/@bufbuild/protobuf": { diff --git a/package.json b/package.json index 94541085..6e955557 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,6 @@ }, "engines": { "node": "^24", - "npm": "^11.6.1" + "npm": "^11.6.1, <11.6.3 || ^11.6.4, <11.12.0" } }