Skip to content

fix(ci): bump .node-version to 24 for preview-publish workflow - #564

Merged
guyofeck merged 1 commit into
mainfrom
fix/node24-preview-publish
Jul 12, 2026
Merged

guyofeck merged 1 commit into
mainfrom
fix/node24-preview-publish

Conversation

@guyofeck

@guyofeck guyofeck commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Note

Description

Bumps the Node.js version pinned in .node-version from 20.19.0 to 24. The preview-publish and manual-publish workflows read this file via node-version-file, and since npm@latest now resolves to npm@12 (which requires Node >= 22), the publish-preview check was failing on every PR. Moving to Node 24 (current LTS) restores compatibility and aligns the publish workflows with the Node version used elsewhere.

Related Issue

None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

Changes Made

  • Updated .node-version from 20.19.0 to 24, which is consumed by the preview-publish and manual-publish GitHub Actions workflows via node-version-file.
  • Restores compatibility with npm@latest (npm@12), which requires Node >= 22.

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated docs/ (AGENTS.md) if I made architectural changes

Additional Notes

CI-only change; no runtime or source code is affected. The verification of this fix is the preview-publish workflow passing on this PR.


🤖 Generated by Claude | 2026-07-12 07:35 UTC | 3a64396

npm@latest now resolves to npm@12 which requires Node >= 22, causing
the publish-preview check to fail on every PR. Bumping to Node 24
(current LTS) keeps the workflow compatible with future npm releases
and aligns with the Node version used for manual-publish.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.1.2-pr.564.3a64396

Prefer not to change any import paths? Install using npm alias so your code still imports base44:

npm i "base44@npm:@base44-preview/cli@0.1.2-pr.564.3a64396"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.1.2-pr.564.3a64396"
  }
}

Preview published to npm registry — try new features instantly!

@guyofeck
guyofeck marked this pull request as ready for review July 12, 2026 07:41
@guyofeck
guyofeck merged commit 5a0b4ce into main Jul 12, 2026
14 checks passed
@guyofeck
guyofeck deleted the fix/node24-preview-publish branch July 12, 2026 07:42
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.

2 participants