Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/ci-cd-20.18.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This CI Workflow was deployed and configured by WarpWing and Nate.
name: CI/CD (20.18.3)

on:
push:
pull_request:
workflow_dispatch:

env:
NODE_VERSION: "20.18.3"

jobs:
es-lint:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install node dependencies
run: npm i

- name: es-lint
run: npm run lint

prettier:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install node dependencies
run: npm i

- name: Prettier
run: npm run prettier
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# This CI Workflow was deployed and configured by WarpWing and Nate.
name: CI/CD
name: CI/CD (latest)

on:
push:
pull_request:
workflow_dispatch:

env:
NODE_VERSION: "16.x"
NODE_VERSION: "latest"

jobs:
es-lint:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -31,10 +31,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ that went into it. Thank you!
## NodeJS

- Git
- NodeJS >= 16.9
- NodeJS >= 20.18.3
- A Minecraft account

### Setup Guide for NodeJS
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@
"onlyBuiltDependencies": [
"canvas"
]
},
"engines": {
"node": ">=20.18.3"
}
}
Loading