Skip to content

Fix site build and pin CI to Node 22.23.3 - #119

Merged
nawta merged 3 commits into
masterfrom
develop
Oct 5, 2026
Merged

nawta merged 3 commits into
masterfrom
develop

Conversation

@nawta

@nawta nawta commented Oct 5, 2026

Copy link
Copy Markdown
Owner

The 20261005 merge did not deploy, because the build failed on the ubuntu CI job (run 37270173414). This PR fixes that failure and sets CI to the Node version tested locally.

Changes

  • Fix the build failure (7f7d8f3). about-me.mdx had <span style="color: red;">. MDX reads this as JSX, and React rejects a string style value, so building the HTML for / failed. It is now style={{color: "red"}}, and the output HTML is still <span style="color:red">.
  • Pull in two upstream commits (37f9868) from LekoArts/gatsby-starter-portfolio-emilia: ef90ad7 and 616037c. They raise gatsby to ^5.14.5, @types/node to ^22.15.33, @types/react to ^18.3.20, @types/react-dom to ^18.3.7 and typescript to ^5.8.3, set the version to 0.3.17, and add the 0.3.17 CHANGELOG entry. package-lock.json was regenerated.
  • Pin the CI environment (52fbc25).
    • .nvmrc changes from 18 to 22.23.3, and CI reads the Node version from that file.
    • CI runs npm ci instead of npm install, so it installs the versions in package-lock.json.
    • The actions are updated to v4.
    • Every OS job runs to the end, even when another one fails.
    • Only the ubuntu job deploys. Before this change, all three OS jobs deployed on master.

Testing

  • CI on develop (run 37276042188) passed on ubuntu, macOS and Windows.
  • On an Apple Silicon Mac with arm64 Node 22.23.3, npm ci and npm run build passed twice, starting with no .cache each time.

🤖 Generated with Claude Code

nawta and others added 3 commits October 5, 2026 15:08
Port two commits from LekoArts/gatsby-starter-portfolio-emilia:
- ef90ad7: gatsby ^5.14.3, @types/node ^22.15.3, @types/react ^18.3.20,
  @types/react-dom ^18.3.7, typescript ^5.8.3
- 616037c: version 0.3.17, gatsby ^5.14.5, @types/node ^22.15.33,
  CHANGELOG entry for 0.3.17

package-lock.json regenerated with npm install. yarn.lock left unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MDX parses <span style="color: red;"> as JSX, and React rejects a
string style prop, so building static HTML for "/" failed (seen in CI
run 37270173414 on ubuntu). Use style={{color: "red"}} instead. The
rendered HTML is unchanged: <span style="color:red">.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .nvmrc: 18 -> 22.23.3. Node 18 and 20 are past end of life; Node 22
  ships npm 10, which runs the install scripts sharp and lmdb need.
  Verified locally on darwin-arm64: npm ci, then two builds from an
  empty cache, both succeeded.
- CI: read the Node version from .nvmrc, use npm ci instead of
  npm install, update actions to v4, let all OS jobs finish
  (fail-fast: false), and deploy only from the ubuntu job.
- README: document the pinned version and that x64 Node under Rosetta
  segfaults in gatsby build on Apple Silicon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d6722a20-57bf-434a-a72c-e1e26a5e95a5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nawta
nawta merged commit 150d028 into master Oct 5, 2026
7 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