We just removed .nvmrc from Ariakit and let pnpm manage Node.js too.
If your project already uses pnpm, you may not need a separate Node version manager. Here’s the migration:
1. Pin Node for the project:
`pnpm runtime set node 24`
This adds devEngines.runtime to package.json. Then pnpm install resolves an exact Node version, records its checksum in pnpm-lock.yaml, and installs it locally.
2. Point GitHub Actions at the same configuration:
- uses: actions/setup-node@v6
with:
node-version-file: package.json
3. Remove .nvmrc and any `nvm use` instructions.
The result: package.json becomes the single source of truth for both pnpm and Node, and contributors don’t need to switch Node manually.
ALT Terminal output showing the successful execution of the pnpm i command in the ariakit repository, adding node version 24.18.0