Skip to content

Commit e733d3e

Browse files
authored
Node Minimum Version Bump to Support Electron (#202)
* Update test runners to use Node 22 * Update minimum version of Node to 22 - Update yarn.lock * Build plugin
1 parent 769033d commit e733d3e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/build-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Use Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version: 22.x
2727

2828
- name: Install dependencies
2929
working-directory: ./resources/js/

.github/workflows/run-plugin-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Use Node.js
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: 20.x
17+
node-version: 22.x
1818
- name: Install dependencies
1919
working-directory: ./resources/js/
2020
run: npm install

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Use Node.js
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 20.x
33+
node-version: 22.x
3434

3535
- name: Setup PHP
3636
uses: shivammathur/setup-php@v2

resources/js/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"homepage": "https://nativephp.com",
88
"type": "module",
99
"engines": {
10-
"node": ">=18.0.0"
10+
"node": ">=22.0.0"
1111
},
1212
"scripts": {
1313
"format": "prettier --write .",

0 commit comments

Comments
 (0)