Skip to content

Commit 8b9a6c7

Browse files
authored
ci: use .nvmrc for node-version (#490)
1 parent b5e096c commit 8b9a6c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/setup-node@v5
5151
with:
5252
check-latest: true
53-
node-version: lts/*
53+
node-version-file: .nvmrc
5454
package-manager-cache: false
5555
registry-url: https://registry.npmjs.org
5656

@@ -86,7 +86,7 @@ jobs:
8686
uses: actions/setup-node@v5
8787
with:
8888
check-latest: true
89-
node-version: lts/*
89+
node-version-file: .nvmrc
9090
package-manager-cache: false
9191
registry-url: https://npm.pkg.github.com
9292
scope: ${{ env.SCOPE }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: actions/setup-node@v5
5858
with:
5959
check-latest: true
60-
node-version: lts/*
60+
node-version-file: .nvmrc
6161

6262
- name: Install
6363
run: npm i --ignore-scripts

0 commit comments

Comments
 (0)