Skip to content

Commit dc13028

Browse files
authored
Add .tool-versions file (#1840)
1 parent a31c4f8 commit dc13028

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dotcom-components.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Use Node.js
3535
uses: actions/setup-node@v7.0.0
3636
with:
37-
node-version-file: '.nvmrc'
37+
node-version-file: '.tool-versions'
3838
cache: 'pnpm'
3939

4040
- name: Test + build
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup Node
9797
uses: actions/setup-node@v7.0.0
9898
with:
99-
node-version-file: '.nvmrc'
99+
node-version-file: '.tool-versions'
100100
cache: 'pnpm'
101101
registry-url: 'https://registry.npmjs.org'
102102

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node 22

docs/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ See [architecture](architecture.md) for details.
44

55
## Getting started
66

7-
This project uses [nvm](https://github.com/nvm-sh/nvm). You should run `nvm use` in your terminal before running any of the following commands.
7+
The required Node version is specified in the `.tool-versions` file in the root of the project. We recommend [Mise](https://mise.jdx.dev/getting-started.html) for managing Node versions.
88

99
To set up, install the project dependencies:
1010

0 commit comments

Comments
 (0)