Skip to content

Commit f289673

Browse files
committed
Update to use node 18
1 parent 7609ccf commit f289673

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Node
2121
uses: actions/setup-node@v2
2222
with:
23-
node-version: 16
23+
node-version: 18
2424

2525
- name: Install dependencies
2626
run: yarn install --frozen-lockfile
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Node
3838
uses: actions/setup-node@v2
3939
with:
40-
node-version: 16
40+
node-version: 18
4141

4242
- name: Load environment config
4343
run: yarn config:init
@@ -57,7 +57,7 @@ jobs:
5757
- name: Set up Node
5858
uses: actions/setup-node@v2
5959
with:
60-
node-version: 16
60+
node-version: 18
6161

6262
- name: Load environment config
6363
run: yarn config:init

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You would also need the following before getting started:
2020

2121
- Have a Discord Application created from the [Discord Dev Portal](https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot)
2222
- Have the Discord Application [invited to a Discord Server](https://discordjs.guide/preparations/adding-your-bot-to-servers.html#bot-invite-links)
23-
- [Node](https://heynode.com/tutorial/install-nodejs-locally-nvm/) with a version of at least v16.13.0
23+
- [Node](https://heynode.com/tutorial/install-nodejs-locally-nvm/) with a version of at least v18.0.0
2424
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable)
2525

2626
## Installation
@@ -260,7 +260,7 @@ I personally deploy to [DigitalOcean droplets](https://www.digitalocean.com/prod
260260
script: |
261261
export NVM_DIR=~/.nvm
262262
source ~/.nvm/nvm.sh
263-
nvm install 16.13.0
263+
nvm install 18.0.0
264264
pm2 stop MyApp
265265
pm2 delete MyApp
266266
cd MyApp

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
]
5656
},
5757
"engines": {
58-
"node": ">=16.13.0"
58+
"node": ">=18.0.0"
5959
}
6060
}

0 commit comments

Comments
 (0)