Skip to content

chore: update collabland packages #377

chore: update collabland packages

chore: update collabland packages #377

Triggered via pull request June 3, 2024 16:44
Status Failure
Total duration 32s
Artifacts

build.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
build (18): src/actions/hello-action.controller.ts#L47
Type 'APIChatInputApplicationCommandInteraction' does not satisfy the constraint 'APIInteraction'.
build (18): src/actions/hello-action.controller.ts#L99
Property 'handle' in type 'HelloActionController' is not assignable to the same property in base type 'BaseDiscordActionController<APIChatInputApplicationCommandInteraction>'.
build (18): src/actions/hello-action.controller.ts#L196
Argument of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@collabland/discord/node_modules/discord-api-types/rest/v10/webhook").RESTPostAPIWebhookWithTokenJSONBody' is not assignable to parameter of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@discordjs/rest/node_modules/discord-api-types/rest/v10/webhook").RESTPostAPIWebhookWithTokenJSONBody'.
build (18): src/actions/hello-action.controller.ts#L203
Argument of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@collabland/discord/node_modules/discord-api-types/rest/v10/webhook").RESTPatchAPIWebhookWithTokenMessageJSONBody' is not assignable to parameter of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@discordjs/rest/node_modules/discord-api-types/rest/v10/webhook").RESTPatchAPIWebhookWithTokenMessageJSONBody'.
build (18): src/client.ts#L100
Argument of type 'APIChatInputApplicationCommandInteraction' is not assignable to parameter of type 'DiscordActionRequest'.
build (18)
Process completed with exit code 1.
build (16)
The job was canceled because "_18" failed.
build (16): src/actions/hello-action.controller.ts#L47
Type 'APIChatInputApplicationCommandInteraction' does not satisfy the constraint 'APIInteraction'.
build (16): src/actions/hello-action.controller.ts#L99
Property 'handle' in type 'HelloActionController' is not assignable to the same property in base type 'BaseDiscordActionController<APIChatInputApplicationCommandInteraction>'.
build (16): src/actions/hello-action.controller.ts#L196
Argument of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@collabland/discord/node_modules/discord-api-types/rest/v10/webhook").RESTPostAPIWebhookWithTokenJSONBody' is not assignable to parameter of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@discordjs/rest/node_modules/discord-api-types/rest/v10/webhook").RESTPostAPIWebhookWithTokenJSONBody'.
build (16): src/actions/hello-action.controller.ts#L203
Argument of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@collabland/discord/node_modules/discord-api-types/rest/v10/webhook").RESTPatchAPIWebhookWithTokenMessageJSONBody' is not assignable to parameter of type 'import("/home/runner/work/collabland-hello-action/collabland-hello-action/node_modules/@discordjs/rest/node_modules/discord-api-types/rest/v10/webhook").RESTPatchAPIWebhookWithTokenMessageJSONBody'.
build (16): src/client.ts#L100
Argument of type 'APIChatInputApplicationCommandInteraction' is not assignable to parameter of type 'DiscordActionRequest'.
build (16)
The operation was canceled.
build (18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.