Skip to content

ci: fix build by dropping Node.js version matrix#450

Merged
PascalRepond merged 1 commit intorero:stagingfrom
PascalRepond:rep-ci
Feb 24, 2026
Merged

ci: fix build by dropping Node.js version matrix#450
PascalRepond merged 1 commit intorero:stagingfrom
PascalRepond:rep-ci

Conversation

@PascalRepond
Copy link
Contributor

Remove the Node.js matrix strategy (18.19.x, 20.11.x, 22.x) and fix the CI to Node.js 22 only.

Node 18 (end-of-life since April 2025) ships with npm 9.x which has a known bug with optional native dependencies (npm/cli#4828). This caused @tailwindcss/oxide to fail loading its native binding on CI.

Testing multiple Node versions brings no value for a frontend Angular library: the compiled output targets browsers, not Node.js. The publishing workflow already uses Node 22, so the build workflow now mirrors it.

Remove the Node.js matrix strategy (18.19.x, 20.11.x, 22.x) and fix
the CI to Node.js 22 only.

Node 18 (end-of-life since April 2025) ships with npm 9.x which has a
known bug with optional native dependencies (npm/cli#4828). This caused
@tailwindcss/oxide to fail loading its native binding on CI.

Testing multiple Node versions brings no value for a frontend Angular
library: the compiled output targets browsers, not Node.js. The
publishing workflow already uses Node 22, so the build workflow now
mirrors it.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
@coderabbitai
Copy link

coderabbitai bot commented Feb 24, 2026

Warning

Rate limit exceeded

@PascalRepond has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 10 minutes and 8 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 40449b6 and 0147722.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • .github/workflows/main.yml

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 and usage tips.

@PascalRepond PascalRepond merged commit 2f5a652 into rero:staging Feb 24, 2026
3 checks passed
@PascalRepond PascalRepond deleted the rep-ci branch February 24, 2026 12:59
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