From 8e09de45db4ef461000275755c9ff19df8d83454 Mon Sep 17 00:00:00 2001 From: Kyle June Date: Sat, 13 Jun 2026 20:56:52 -0400 Subject: [PATCH] ci: pin @sebbo2002/semantic-release-jsr to 3.2.1 4.0.0 ships a CJS bundle that semantic-release rejects as an invalid plugin config (EPLUGINSCONF), failing every Release job. Root cause is upstream issue #153: the v4 build tags module.exports with Symbol.toStringTag="Module", tripping semantic-release's isPlainObject() check. It's fixed on @next (4.0.1-develop) but not yet in a stable release, so the floating "latest" is still the broken 4.0.0. Pin only this plugin to the last working 3.x; the other five tools keep tracking latest. Un-pin to ^4.0.1 once it ships stable. Verified locally: with jsr 3.2.1 every plugin loads; swapping only jsr to 4.0.0 reproduces EPLUGINSCONF. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci-cd.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 50c65aa..d6e6c72 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -142,6 +142,11 @@ jobs: - name: Run semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # @sebbo2002/semantic-release-jsr@4.0.0 ships a CJS bundle that + # semantic-release rejects as an invalid plugin config (EPLUGINSCONF): + # https://github.com/sebbo2002/semantic-release-jsr/issues/153 + # Fixed upstream on @next (4.0.1-develop); pin to the last good 3.x and + # un-pin to ^4.0.1 once it ships stable. The other tools track latest. run: >- npx --package semantic-release @@ -149,5 +154,5 @@ jobs: --package @semantic-release/exec --package @semantic-release/git --package @semantic-release/github - --package @sebbo2002/semantic-release-jsr + --package @sebbo2002/semantic-release-jsr@3.2.1 semantic-release