Skip to content

Commit a10e93d

Browse files
committed
Retrieve Node.js version from package.json instead of from .nvmrc
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 71eeae9 commit a10e93d

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version-file: .nvmrc
17-
check-latest: true
16+
node-version-file: package.json
1817
- run: npm ci
1918
- run: npm run lint
19+
- run: npm run build

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version-file: .nvmrc
30-
check-latest: true
29+
node-version-file: package.json
3130
- run: npm ci
3231
- run: npm run build
3332
- uses: actions/configure-pages@v5

.nvmrc

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This website is intended as a content website. While it is a landing page for th
3636

3737
## Local development
3838

39-
The website is built using [11ty](https://www.11ty.dev/) and requires a relatively up-to-date version of Node.js - preferably the version in [.nvmrc](./.nvmrc).
39+
The website is built using [11ty](https://www.11ty.dev/) and requires a relatively up-to-date version of Node.js - preferably the version in [package.json](./package.json).
4040

4141
```sh
4242
npm ci # install dependencies from package-lock.json

0 commit comments

Comments
 (0)