From 3c4b55b2c33d302155fce324c34c550d282a388e Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 9 Apr 2026 18:45:38 +0000 Subject: [PATCH] fix: switch publish workflow to Node 24, drop broken npm upgrade step Node 24 bundles npm 11+ with OIDC trusted publishing support built-in. The npm install -g npm@latest step was failing on GitHub Actions runners due to a broken promise-retry module in the Node 22.22.2 toolcache. --- .github/workflows/publish.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index db93708..f7b9ca4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,12 +47,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 - - - name: Upgrade npm for OIDC trusted publishing - run: | - npm install -g npm@latest - npm --version + node-version: 24 - name: Install Craft run: |