chore: Add .node-version file and update workflows to use it

This commit is contained in:
Baruch Odem 2025-05-30 15:08:40 +03:00
commit d7cc0fae2a
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version
cache: npm
# Working around https://github.com/npm/cli/issues/4828
@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version
cache: npm
registry-url: "https://registry.npmjs.org"

1
.node-version Normal file
View file

@ -0,0 +1 @@
22.x.x