Skip to content

ci: bump Node to 22 to fix postcss-cli@12 engine error - #330

Merged
mathieu-benoit merged 2 commits into
score-spec:mainfrom
wized2:fix/329-node22
Sep 30, 2026
Merged

mathieu-benoit merged 2 commits into
score-spec:mainfrom
wized2:fix/329-node22

Conversation

@wized2

@wized2 wized2 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #329.

Problem

Dependabot PR #328 bumps postcss-cli to 12.0.0, which requires Node >= 22. CI pins Node 20, so yarn install fails with:

error postcss-cli@12.0.0: The engine node is incompatible with this module. Expected version >=22. Got 20.20.2

Change

  • .github/workflows/pull-request.yml: node-version 20 -> 22
  • .github/workflows/hugo.yml: node-version 20 -> 22 (consistency)

Why this is safe

Verification

CI on this PR runs yarn install, yarn run hugo and yarn run dprint check. It should now go green and unblock #328.

@mathieu-benoit
mathieu-benoit self-requested a review September 30, 2026 13:58

@mathieu-benoit mathieu-benoit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @wized2, appreciated!

You just need to fix the DCO, locally from the associated branch, do that please:

git rebase HEAD~2 --signoff
git push --force-with-lease origin fix/329-node22

Signed-off-by: wized2 <acartoon766@gmail.com>
@wized2

wized2 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

Thanks, @wized2, appreciated!

You just need to fix the DCO, locally from the associated branch, do that please:

git rebase HEAD~2 --signoff
git push --force-with-lease origin fix/329-node22

Done?

@mathieu-benoit
mathieu-benoit self-requested a review September 30, 2026 17:16

@mathieu-benoit mathieu-benoit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks, @wized2!

@mathieu-benoit
mathieu-benoit merged commit 2783e96 into score-spec:main Sep 30, 2026
3 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.

error postcss-cli@12.0.0: The engine "node" is incompatible with this module. Expected version ">=22". Got "20.20.2"

2 participants