Skip to content

Commit a886f5c

Browse files
committed
actions/setup-node gets node version from .nvmrc
1 parent e4060be commit a886f5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js
3232
uses: actions/setup-node@v6
3333
with:
34-
node-version: '22.21'
34+
node-version-file: '.nvmrc'
3535

3636
- name: Install Node dependencies
3737
run: npm ci

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- uses: actions/setup-node@v6
4343
with:
44-
node-version: '22.21'
44+
node-version-file: '.nvmrc'
4545

4646
- name: Get cached dependencies
4747
uses: actions/cache@v4

0 commit comments

Comments
 (0)