Skip to content

Commit 5861fa9

Browse files
committed
ci: use node-version file
1 parent adaaceb commit 5861fa9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/release-continuous.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- run: corepack enable
1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: lts/*
15+
node-version-file: '.node-version'
1616
cache: 'pnpm'
1717

1818
- name: Install dependencies

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: lts/*
25+
node-version-file: '.node-version'
2626
cache: pnpm
2727
registry-url: 'https://registry.npmjs.org'
2828

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.12

0 commit comments

Comments
 (0)