Skip to content

chore: update collabland packages #481

chore: update collabland packages

chore: update collabland packages #481

Triggered via pull request November 1, 2024 03:41
Status Failure
Total duration 27s
Artifacts

build.yaml

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

Annotations

12 errors and 2 warnings
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): 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 use a deprecated Node.js version 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/
build (16)
The following actions use a deprecated Node.js version 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/