Skip to content

Update Node.js version to fix CI - #32

Merged
tricknotes merged 4 commits into
mainfrom
fix-ci
Aug 22, 2026
Merged

Update Node.js version to fix CI#32
tricknotes merged 4 commits into
mainfrom
fix-ci

Conversation

@tricknotes

@tricknotes tricknotes commented Apr 7, 2026

Copy link
Copy Markdown
Owner

To fix the following error on CI.

error mktemp@2.0.2: The engine "node" is incompatible with this module. Expected version "20 || 22 || 24". Got "18.20.8"
error Found incompatible module.

https://github.com/tricknotes/ember-cli-rails-assets/actions/runs/24065729896/job/70191312530?pr=31#step:7:50

tricknotes and others added 4 commits April 7, 2026 14:23
```
error mktemp@2.0.2: The engine "node" is incompatible with this module. Expected version "20 || 22 || 24". Got "18.20.8"
error Found incompatible module.
```
https://github.com/tricknotes/ember-cli-rails-assets/actions/runs/24065729896/job/70191312530?pr=31#step:7:50
`ember-cli-output` tracks the output of `ember new`, and since ember-cli
6.8 that output is built by Vite instead of Broccoli. A Vite build breaks
the setup in two ways:

- `ember-cli-rails-addon` sets `storeConfigInMeta = false`, which makes it
  contribute content-for 'config-module'. Embroider rejects that.
- Its CSRF initializer does `import Ember from 'ember'`, which no longer
  resolves.

Neither is fixable from this repository, and the built assets would not be
laid out the way `EmberCli::Assets::Lookup` expects anyway. Pin the clone to
v6.7.2, the last release built by Broccoli, so the suite keeps exercising
the build layout this gem supports.

Co-Authored-By: Claude <noreply@anthropic.com>
rspec-rails 8.0.4 cannot load feature specs against Rails 8.2.0.alpha:
`ActionDispatch::Routing::UrlFor` now freezes `default_url_options`, and
`RSpec::Rails::FeatureExampleGroup` mutates it while being included.

    FrozenError:
      can't modify frozen Hash: {}
    # rspec-rails-8.0.4/lib/rspec/rails/example/feature_example_group.rb:19

That has to be fixed in rspec-rails, and Rails main will keep breaking in
new ways regardless, so run the job for information only.

Co-Authored-By: Claude <noreply@anthropic.com>
Adding `experimental` to the matrix renamed the job to
`build (3.4, main, true)`. Set the name explicitly so it stays
`build (3.4, main)`.

Co-Authored-By: Claude <noreply@anthropic.com>
@tricknotes
tricknotes merged commit 792ac96 into main Aug 22, 2026
8 of 9 checks passed
@tricknotes
tricknotes deleted the fix-ci branch August 22, 2026 06:35
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