From f9275c49cd9d3f59406c30fbcfe72969485db800 Mon Sep 17 00:00:00 2001 From: Mariano Aguero Date: Fri, 18 Sep 2026 13:25:50 -0300 Subject: [PATCH] ci: exercise the publish npmrc path on pull requests --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51c44bc..18e5424 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,12 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 22 + # release.yml passes this too, and it is the one input the release job + # uses that no pull request would otherwise exercise: it writes the + # .npmrc that npm publish authenticates with. Passing it here writes + # the same file and publishes nothing, so a setup-node bump that broke + # the publish path fails on the PR instead of on the release. + registry-url: https://registry.npmjs.org - uses: oven-sh/setup-bun@v2 with: