Skip to content

fix(ci): upgrade Actions to v5 and unblock CI install/audit gates#72

Merged
huyplb merged 1 commit into
mainfrom
fix/ci-node24-actions-and-deps
Jul 15, 2026
Merged

fix(ci): upgrade Actions to v5 and unblock CI install/audit gates#72
huyplb merged 1 commit into
mainfrom
fix/ci-node24-actions-and-deps

Conversation

@huyplb

@huyplb huyplb commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade actions/checkout, setup-node, cache, and upload-artifact from v4 → v5 so workflows run natively on Node 24 (fixes the deprecation warnings/failures GitHub started enforcing)
  • Bump CLI react to ^19.2.0 to satisfy ink@7 peer deps — this was the real cause of yesterday's npm install ERESOLVE failures in CodeQL / Dependency Security / Release Gate
  • Add root ink + react devDependencies so Vitest can resolve Ink TUI tests on a fresh CI install
  • Add .cargo/audit.toml to ignore transitive quick-xml advisories pulled in via plist → tauri until upstream adopts >=0.41

Root cause

The Node 20 deprecation message was a warning on v4 actions. The workflows actually failed because:

  1. npm install could not resolve ink@7 (needs react >=19) vs CLI react@18
  2. cargo audit flagged quick-xml 0.39.x from Tauri's plist dependency

Test plan

  • npm install --ignore-scripts succeeds on a clean tree
  • npx vitest run — 257 passed / 3 failed (pre-existing flaky Ink prompt tests)
  • CI: Dependency Security + CodeQL green on this PR

Made with Cursor

GitHub now runs Node 24 on runners, deprecating Node-20-based action
releases. Bump checkout/setup-node/cache/upload-artifact to v5, align CLI
React with ink@7 for fresh npm installs on CI, hoist ink/react for Vitest,
and ignore transitive quick-xml advisories from plist until upstream updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_78562181-688a-43a2-ac35-9293532de0dc)

@huyplb huyplb merged commit f141dfd into main Jul 15, 2026
6 of 7 checks passed
@huyplb huyplb deleted the fix/ci-node24-actions-and-deps branch July 15, 2026 00:39
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