Skip to content

Commit 7b6d168

Browse files
chore(deps): update node.js to v24 (#374)
Co-authored-by: cobalt <61329810+cobaltt7@users.noreply.github.com> Signed-off-by: cobalt <61329810+cobaltt7@users.noreply.github.com>
1 parent 2b8ac03 commit 7b6d168

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
package-manager-cache: false
3131

3232
- name: Install
33-
run: npm install
33+
run: npm ci
3434

3535
- name: Set version
3636
run: npm pkg set version="$(date +"%y.%m.%d")-$(git rev-parse --short HEAD)"

modules/ouija-board/handle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function handleOujia(message: Message): Promise<void> {
5151
if (config?.react) await tryReact(message, "👍");
5252

5353
if (character === true) {
54-
await ouija.deleteOne();
54+
await ouija.deleteOne().exec();
5555
if (message.channel.sendable)
5656
await message.channel.send(
5757
`## ${userMention(ouija.owner)} wants to know: __${escapeAllMarkdown(

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"@redguy12/prettier-config": "3.4.5",
2727
"@total-typescript/ts-reset": "0.6.1",
28-
"@types/node": "<=22.10",
28+
"@types/node": "<=24.15",
2929
"eslint": "9.34.0",
3030
"eslint-config-cobaltt7": "1.3.1",
3131
"nodemon": "3.1.14",
@@ -36,7 +36,7 @@
3636
"@railway/cli": "4.59.0"
3737
},
3838
"engines": {
39-
"node": "^22.10.0",
40-
"npm": ">=9.0.0"
39+
"node": "^24.15.0",
40+
"npm": ">=11.0.0"
4141
}
4242
}

0 commit comments

Comments
 (0)