From 4a2a89b1f1a7a2b347e29fc7d2780d337264f509 Mon Sep 17 00:00:00 2001 From: Alex Bit Date: Sat, 31 Oct 2026 12:33:26 -0700 Subject: [PATCH] Fix manual publish by installing workspace deps publish-manual skipped pnpm install, so bundling failed on @jssg/utils imports during codemod publish. Co-authored-by: Cursor --- .github/workflows/publish.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2042f2e..54dfed2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,6 +93,17 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@f520eceda224fe1a4aed5a2a27a194379a409996 # v6 + + - uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: pnpm + + # Workspace deps (e.g. @jssg/utils) must be installed before the CLI + # bundles scripts/codemod.ts during publish. + - run: pnpm install --frozen-lockfile + - name: Publish codemod uses: codemod/publish-action@dd6c8dbc5ceb1a6146feba41481d88b43da50024 # v1 with: