Skip to content

fix: Require Node 22 to match inject-markdown - #23

Open
Jason3S wants to merge 2 commits into
mainfrom
chore/node-22-baseline
Open

Jason3S wants to merge 2 commits into
mainfrom
chore/node-22-baseline

Conversation

@Jason3S

@Jason3S Jason3S commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

inject-markdown@6.3.0 requires Node >=22, but this package still declared >=18, and CI ran on Node 18.

Changes

  • Set engines.node to >=22.
  • Run the setup action and both update bots on Node 22.x.
  • Add a test workflow, modeled on cspell-cli's:
    • Runs npm test on Node 22.x, 24.x and 25.x (Ubuntu) and on 24.x (Windows).
    • Checks that the tree is clean after the test.
    • Runs prettier --check.
  • Add .gitattributes so files check out with LF on Windows too. inject-markdown writes LF, so a CRLF checkout showed every line of README.md as changed.

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