From f2f7cf769ce2d80471aca0c4f67b6bb28a6ffdf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Sun, 19 Oct 2025 15:10:47 +0800 Subject: [PATCH] ci: trusted publishing fixes https://github.com/eslint-community/eslint-utils/issues/263 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4959125..1f8c375 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,6 +134,10 @@ jobs: with: node-version: 22 + # npm 11.5.1 or later is required so update to latest to be sure + - name: Update npm + run: npm install -g npm@latest + - name: 📥 Install dependencies run: npm install @@ -156,4 +160,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}