Skip to content

Commit 26d0351

Browse files
authored
chore!: Update supported Node versions (#9600)
* chore!: Update supported Node versions * fix: Remove references to not-yet-available Node 26 * chore: Revert formatting change
1 parent 93c29db commit 26d0351

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/browser_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
# TODO (#2114): re-enable osx build.
2222
# os: [ubuntu-latest, macos-latest]
2323
os: [macos-latest]
24-
node-version: [18.x, 20.x]
24+
node-version: [22.x, 24.x]
2525
# See supported Node.js release schedule at
2626
# https://nodejs.org/en/about/releases/
2727

2828
defaults:
2929
run:
3030
working-directory: ./packages/blockly
31-
31+
3232
steps:
3333
- uses: actions/checkout@v5
3434
with:

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# TODO (#2114): re-enable osx build.
1919
# os: [ubuntu-latest, macos-latest]
2020
os: [ubuntu-latest]
21-
node-version: [18.x, 20.x, 22.x, 24.x]
21+
node-version: [22.x, 24.x]
2222
# See supported Node.js release schedule at
2323
# https://nodejs.org/en/about/releases/
2424

@@ -57,10 +57,10 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@v5
5959

60-
- name: Use Node.js 20.x
60+
- name: Use Node.js 24.x
6161
uses: actions/setup-node@v5
6262
with:
63-
node-version: 20.x
63+
node-version: 24.x
6464

6565
- name: Npm Install
6666
run: npm install
@@ -74,10 +74,10 @@ jobs:
7474
steps:
7575
- uses: actions/checkout@v5
7676

77-
- name: Use Node.js 20.x
77+
- name: Use Node.js 24.x
7878
uses: actions/setup-node@v5
7979
with:
80-
node-version: 20.x
80+
node-version: 24.x
8181

8282
- name: Npm Install
8383
run: npm install

packages/blockly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@
151151
"jsdom": "26.1.0"
152152
},
153153
"engines": {
154-
"node": ">=18"
154+
"node": ">=22"
155155
}
156156
}

0 commit comments

Comments
 (0)