File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212
1313 steps :
1414 - uses : actions/checkout@v2
15- - name : Use Node.js 18 .x
15+ - name : Use Node.js 22 .x
1616 uses : actions/setup-node@v1.4.4
1717 with :
18- node-version : 18 .x
18+ node-version : 22 .x
1919 - run : npm i && npm run lint
2020
2121 PrepareSupportedVersions :
@@ -25,10 +25,10 @@ jobs:
2525
2626 steps :
2727 - uses : actions/checkout@v2
28- - name : Use Node.js 18 .x
28+ - name : Use Node.js 22 .x
2929 uses : actions/setup-node@v1.4.4
3030 with :
31- node-version : 18 .x
31+ node-version : 22 .x
3232 - id : set-matrix
3333 run : |
3434 node -e "
@@ -45,10 +45,10 @@ jobs:
4545
4646 steps :
4747 - uses : actions/checkout@v2
48- - name : Use Node.js 18 .x
48+ - name : Use Node.js 22 .x
4949 uses : actions/setup-node@v1.4.4
5050 with :
51- node-version : 18 .x
51+ node-version : 22 .x
5252 - name : Setup Java JDK
5353 uses : actions/setup-java@v1.4.3
5454 with :
Original file line number Diff line number Diff line change 1313 - name : Set up Node.js
1414 uses : actions/setup-node@master
1515 with :
16- node-version : 18 .0.0
16+ node-version : 22 .0.0
1717 - id : publish
1818 uses : JS-DevTools/npm-publish@v1
1919 with :
Original file line number Diff line number Diff line change 11if ( typeof process !== 'undefined' && ! process . browser && process . platform !== 'browser' && parseInt ( process . versions . node . split ( '.' ) [ 0 ] ) < 18 ) {
22 console . error ( 'Your node version is currently' , process . versions . node )
3- console . error ( 'Please update it to a version >= 18 .x.x from https://nodejs.org/' )
3+ console . error ( 'Please update it to a version >= 22 .x.x from https://nodejs.org/' )
44 process . exit ( 1 )
55}
66
Original file line number Diff line number Diff line change 1717 "url" : " git://github.com/PrismarineJS/mineflayer.git"
1818 },
1919 "engines" : {
20- "node" : " >=18 "
20+ "node" : " >=22 "
2121 },
2222 "license" : " MIT" ,
2323 "dependencies" : {
You can’t perform that action at this time.
0 commit comments