Skip to content

chore: update collabland packages #409

chore: update collabland packages

chore: update collabland packages #409

Triggered via pull request July 4, 2024 16:30
Status Failure
Total duration 30s
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)
Process completed with exit code 1.
build (18)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/