Skip to content

Commit

Permalink
fix: make it work with NodeJS v22.x
Browse files Browse the repository at this point in the history
  • Loading branch information
san983 committed Dec 23, 2024
1 parent d41b73d commit 902c6f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
matrix:
node-version:
- '20.x'
- '22.x'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -41,6 +42,7 @@ jobs:
matrix:
node-version:
- '20.x'
- '22.x'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -61,6 +63,7 @@ jobs:
matrix:
node-version:
- '20.x'
- '22.x'
if: github.ref == 'refs/heads/main' && ${{ success() }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion src/Bot.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Adapter, EnterMessage, LeaveMessage } from 'hubot'
import { SlackTextMessage, ReactionMessage, FileSharedMessage } from './Message.mjs'
import { SocketModeClient } from '@slack/socket-mode'
import { WebClient } from '@slack/web-api'
import pkg from '../package.json' assert { type: 'json' }
import pkg from '../package.json' with { type: 'json' }

class SlackClient {
static CONVERSATION_CACHE_TTL_MS =
Expand Down

0 comments on commit 902c6f4

Please sign in to comment.