mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-23 19:20:01 -04:00
parent
080aa52c5b
commit
e9eb551ba3
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -14,10 +14,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 18.x
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@v1.4.4
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version: 22.x
|
||||
- run: npm i && npm run lint
|
||||
PrepareSupportedVersions:
|
||||
runs-on: ubuntu-latest
|
||||
@ -26,10 +26,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 18.x
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@v1.4.4
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version: 22.x
|
||||
- id: set-matrix
|
||||
run: |
|
||||
node -e "
|
||||
@ -45,10 +45,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 18.x
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version: 22.x
|
||||
- name: Setup Java JDK
|
||||
uses: actions/setup-java@v1.4.3
|
||||
with:
|
||||
|
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 18.0.0
|
||||
node-version: 22.0.0
|
||||
- id: publish
|
||||
uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
|
@ -29,7 +29,7 @@
|
||||
"author": "Andrew Kelley",
|
||||
"license": "BSD-3-Clause",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=22"
|
||||
},
|
||||
"browser": "src/browser.js",
|
||||
"devDependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user