Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move to NodeJS v22 #94

Draft
wants to merge 4 commits into
base: staging
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please help other contributors to the project wherever you can, as people all st

## Prerequisites

- [node](https://nodejs.org/) version >= 18.x
- [node](https://nodejs.org/) version >= 22.x

## Ground Rules

Expand Down Expand Up @@ -61,7 +61,7 @@ This library will load a file from the `config` folder, based on an environment

### Setting up the config

1. Create a file named `development.json` at [../config/](../config/).
1. Create a file named `development.json` at [../config/](../config).
2. Paste the contents of [../config/staging.json](../config/staging.json) into `development.json`.
3. In your `.env` file set `NODE_CONFIG_ENV` to `development`.
4. In your `development.json` file replace the `guildId` field with your server ID.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version-file: package.json
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@octokit/request": "^8.1.1",
"bad-words": "^3.0.4",
"cache-manager": "^5.7.6",
"config": "^3.3.9",
"config": "^3.3.12",
"discord.js": "^14.16.1",
"jsdom": "^23.2.0",
"moment": "^2.29.4",
Expand All @@ -45,6 +45,6 @@
"typescript": "^5.5.4"
},
"engines": {
"node": "18.x"
"node": "22.x"
}
}
Loading