Skip to content

fix(ci): bump Node from 20 to 22 for acpx compatibility#977

Merged
bra1nDump merged 5 commits intomainfrom
fix/ci-node-22
Apr 3, 2026
Merged

fix(ci): bump Node from 20 to 22 for acpx compatibility#977
bra1nDump merged 5 commits intomainfrom
fix/ci-node-22

Conversation

@bra1nDump
Copy link
Copy Markdown
Contributor

Summary

  • acpx@0.4.0 requires node >=22.12.0, causing all Node 20 CI jobs to fail at yarn install after PR Rewrite Happy to use acpx types end-to-end #976 merged
  • Bumps typecheck.yml from Node 20 → 22
  • Bumps cli-smoke-test.yml matrix from [20, 24][22, 24] (both Linux and Windows)

Test plan

  • CI passes on this PR (typecheck + smoke tests with Node 22/24)

🤖 Generated with Claude Code

bra1nDump and others added 5 commits April 3, 2026 07:56
acpx@0.4.0 requires node >=22.12.0, which caused all Node 20 CI jobs
to fail at yarn install after the acpx-rewrite merge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The @slopus/happy-wire package was referenced but never created, causing
TS2307 in CI. Define VoiceTokenResponse type and Zod schema inline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pkgroll treats dependencies as external, so npm install -g of the
packed tarball tried to resolve @slopus/happy-sync from the npm
registry (404). Moving it to devDependencies makes pkgroll bundle
it into dist instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The postinstall script runs `npx tsc` which resolves to a broken doubled
node_modules path on Windows CI. Skip the postinstall build and add an
explicit build step for happy-sync before building the CLI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
npx tsc resolves to a broken doubled node_modules path on Windows CI
with yarn workspaces. yarn scripts already add node_modules/.bin to
PATH, so tsc works directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bra1nDump bra1nDump merged commit ae0b33c into main Apr 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant