From 909d427208288c15a3e44ed88df2972b65e88853 Mon Sep 17 00:00:00 2001 From: kevbarns Date: Wed, 19 Aug 2026 15:21:52 +0200 Subject: [PATCH 1/2] Fix the npm publish job, which has been failing since npm 12 `publish_on_npm` pins node 20 and then runs `npm install -g npm@latest`. npm 12 declares `engines: {"node": "^22.22.2 || ^24.15.0 || >=26.0.0"}`, so that install fails with EBADENGINE and the job dies before `npm publish`. This is why 1.32.5 has a git tag and a GitHub release but was never published: in run 30816134336, `create_github_release` succeeded and `publish_on_npm` failed, leaving npm on 1.32.4. Bring the job to node 22, which is what the test job already uses. --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 796566a0a..d1bb22a68 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -114,7 +114,8 @@ jobs: ref: ${{ github.ref }} - uses: actions/setup-node@v5 with: - node-version: '20' + # npm@latest requires node >=22 since npm 12, keep this in step with the test job + node-version: '22' registry-url: https://registry.npmjs.org/ - run: npm install -g npm@latest - run: yarn install --frozen-lockfile From edee06cc9088f781e4a57d96e17d1b83e8eecc72 Mon Sep 17 00:00:00 2001 From: kevbarns Date: Wed, 19 Aug 2026 15:21:53 +0200 Subject: [PATCH 2/2] Bump version to 1.33.0 Minor: only-include-used-components (#505) adds a new opt-in CLI command and a new `bin` entry, which is additive public surface. Also carries the fixes that were tagged 1.32.5 but never reached npm. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 58ea8951d..def22f36d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codegouvfr/react-dsfr", - "version": "1.32.5", + "version": "1.33.0", "description": "French State Design System React integration library", "repository": { "type": "git",