Skip to content

Commit 002e2f0

Browse files
authored
Merge pull request #255 from MekDrop/chore/ci-node-from-packagejson-node24
CI: use Node version from package.json (Node 24+)
2 parents 5b107dd + 954bec8 commit 002e2f0

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v6
2525
with:
26-
node-version: '22'
26+
node-version-file: package.json
2727

2828
- name: Install dependencies
2929
run: yarn install

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Node.js
2929
uses: actions/setup-node@v6
3030
with:
31-
node-version: '22'
31+
node-version-file: package.json
3232

3333
- name: Install Dependencies
3434
run: yarn install

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version: '22'
22+
node-version-file: package.json
2323

2424
- name: Install dependencies
2525
run: yarn install

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"vite-plugin-sitemap": "^0.8.2"
5353
},
5454
"engines": {
55-
"node": "^22 || ^23",
55+
"node": ">=24",
5656
"npm": ">= 6.13.4",
5757
"yarn": ">= 1.21.1"
5858
}

0 commit comments

Comments
 (0)