Skip to content

Commit 3edb840

Browse files
authored
refer .node-version on setup-node (#1923)
1 parent a0941c6 commit 3edb840

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Node.js
3333
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3434
with:
35-
node-version: 'lts/*'
35+
node-version-file: ./.node-version
3636

3737
# No need to install dependencies - npm version works without them
3838
- name: Version bump

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
if: steps.tag-check.outputs.exists == 'false'
4848
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
4949
with:
50-
node-version: 'lts/*'
50+
node-version-file: ./.node-version
5151
registry-url: 'https://registry.npmjs.org'
5252

5353
- name: Install latest npm

0 commit comments

Comments
 (0)