From c05bd7ff2873b7d061ec39edb584a24a65eb2ae2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 3 Aug 2026 21:52:56 +0000 Subject: [PATCH] ci: remove broken npm backfill step semantic-release already publishes via OIDC. The follow-up backfill step raced the registry and failed the job after a successful publish. Co-authored-by: Kent C. Dodds --- .github/workflows/ci.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fab274fd..816439dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,17 +110,3 @@ jobs: ] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # Backfill npm when a git tag/GitHub release exists but npm publish was skipped - - name: 📦 Ensure latest tag is on npm - run: | - TAG=$(git describe --tags --abbrev=0) - VERSION=${TAG#v} - if npm view "@testing-library/user-event@${VERSION}" version >/dev/null 2>&1; then - echo "npm already has ${VERSION}" - exit 0 - fi - echo "Publishing missing ${VERSION} to npm" - npm install -g npm@latest - npm version "${VERSION}" --no-git-tag-version - npm publish --access public