From 79b60cfded8b940c80556982036cb5ff7250999d Mon Sep 17 00:00:00 2001 From: IQBAL HASAN Date: Sun, 20 Sep 2026 16:36:19 +0600 Subject: [PATCH] fix(ci): run the publish job on Node 24 The job pinned Node 20 and then ran `npm install -g npm@latest`. npm 12 requires Node ^22.22.2 || ^24.15.0 || >=26.0.0, so that step failed with EBADENGINE and the release never published. A recent npm is needed here for OIDC trusted publishing, so the Node version moves rather than the npm version. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 920f16e..0611f02 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v7 with: - node-version: '20' + node-version: '24' registry-url: 'https://registry.npmjs.org' # Ensure npm 11.5.1 or later is installed