From baf73b8fc98bd8ff035df91ab5b622d87b28baae Mon Sep 17 00:00:00 2001 From: Florian Imdahl Date: Sat, 28 Mar 2026 21:48:08 +0100 Subject: [PATCH 1/2] ci: add .npmrc with legacy-peer-deps to fix npm version ERESOLVE eslint-plugin-import@2.32.0 declares peer dep eslint@"^2...^9" which does not include eslint@10. npm (used internally by @semantic-release/npm) fails with ERESOLVE when running `npm version` in the workspace context. legacy-peer-deps restores the pre-npm-7 behaviour that yarn already uses. --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..521a9f7c --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true From d957849d8a506b4ed6262351a787eaa2ed8e5506 Mon Sep 17 00:00:00 2001 From: Florian Imdahl Date: Sat, 28 Mar 2026 21:49:30 +0100 Subject: [PATCH 2/2] ci: upload release log as artifact on failure --- .github/workflows/build_test_publish.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_test_publish.yml b/.github/workflows/build_test_publish.yml index be7f042e..3f800c23 100644 --- a/.github/workflows/build_test_publish.yml +++ b/.github/workflows/build_test_publish.yml @@ -47,4 +47,12 @@ jobs: export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}" git config --global "user.email" "${GIT_AUTHOR_EMAIL}" git config --global "user.name" "${GIT_AUTHOR_NAME}" - yarn release + yarn release 2>&1 | tee /tmp/release.log + exit ${PIPESTATUS[0]} + + - name: Upload release log + if: failure() + uses: actions/upload-artifact@v4 + with: + name: release-log + path: /tmp/release.log