Skip to content

Commit

Permalink
change node version
Browse files Browse the repository at this point in the history
  • Loading branch information
benw202 committed Nov 9, 2024
1 parent 1ebbfad commit feedb70
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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
4 changes: 2 additions & 2 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
- name: Use Node.js 22.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '22.x'
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"typescript": "^5.5.4"
},
"engines": {
"node": "18.x"
"node": "22.x"
}
}

0 comments on commit feedb70

Please sign in to comment.