Skip to content

Commit 5e2c7ac

Browse files
authored
Merge pull request #57 from code0-tech/use-node-from-version-files
Use node version from tool-versions file
2 parents 37668f4 + 96eef67 commit 5e2c7ac

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v5
1313
- uses: actions/setup-node@v6
1414
with:
15-
node-version: '24.x'
15+
node-version-file: '.tool-versions'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm version from-git --git-tag-version=false
1818
- run: npm ci
@@ -36,7 +36,7 @@ jobs:
3636
bun-version-file: ".tool-versions"
3737
- uses: actions/setup-node@v6
3838
with:
39-
node-version: '24.x'
39+
node-version-file: '.tool-versions'
4040
registry-url: 'https://registry.npmjs.org'
4141
- run: npm ci
4242
working-directory: .

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v5
1212
- uses: actions/setup-node@v6
1313
with:
14-
node-version: '24.x'
14+
node-version-file: '.tool-versions'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci
1717
- run: npm run build
@@ -39,7 +39,7 @@ jobs:
3939
bun-version-file: ".tool-versions"
4040
- uses: actions/setup-node@v6
4141
with:
42-
node-version: '24.x'
42+
node-version-file: '.tool-versions'
4343
registry-url: 'https://registry.npmjs.org'
4444
- run: npm ci
4545
working-directory: .

0 commit comments

Comments
 (0)