Skip to content

Commit 171487c

Browse files
committed
ci: use .nvmrc for actions/setup-node
Remove .node-version
1 parent 4730c96 commit 171487c

7 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎.github/workflows/automatic-updates.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Node.js
1919
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2020
with:
21-
node-version-file: .node-version
21+
node-version-file: .nvmrc
2222
cache: npm
2323
- name: Install dependencies
2424
run: npm ci

‎.github/workflows/doctoc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2525
with:
26-
node-version-file: .node-version
26+
node-version-file: .nvmrc
2727
cache: npm
2828
- name: Install dependencies
2929
run: npm ci

‎.github/workflows/lint-javascript.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Node.js
2121
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2222
with:
23-
node-version-file: .node-version
23+
node-version-file: .nvmrc
2424
cache: npm
2525
- name: Install dependencies
2626
run: npm ci

‎.github/workflows/markdown-link-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Node.js
2222
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2323
with:
24-
node-version-file: .node-version
24+
node-version-file: .nvmrc
2525
cache: npm
2626
- name: Install dependencies
2727
run: npm ci

‎.github/workflows/prettier.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
1818
with:
19-
node-version-file: .node-version
19+
node-version-file: .nvmrc
2020
cache: npm
2121
- name: Install dependencies
2222
run: npm ci

‎.node-version‎

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

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To contribute to this repo, install:
5555

5656
- [git](https://git-scm.com/)
5757
- [Docker](https://docs.docker.com/get-started/get-docker/)
58-
- [Node.js](https://nodejs.org/en/download) LTS version as specified in [.node-version](./.node-version)
58+
- [Node.js](https://nodejs.org/en/download) LTS version as specified in [.nvmrc](./.nvmrc)
5959
- [jq](https://jqlang.org/download/)
6060

6161
[fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) this repo, then install npm dependencies.

0 commit comments

Comments
 (0)