Skip to content

Bump grammy from 1.24.1 to 1.30.0 #146

Bump grammy from 1.24.1 to 1.30.0

Bump grammy from 1.24.1 to 1.30.0 #146

Triggered via pull request September 9, 2024 11:00
Status Failure
Total duration 31s
Artifacts

main.yml

on: pull_request
Matrix: build-and-test
auto-merge
0s
auto-merge
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
build-and-test (20.x): src/bot/context.ts#L38
Argument of type 'import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/@grammyjs[email protected]/node_modules/@grammyjs/types/manage").UserFromGetMe' is not assignable to parameter of type 'import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/@grammyjs[email protected]/node_modules/@grammyjs/types/manage").UserFromGetMe'.
build-and-test (20.x): src/bot/handlers/commands/setcommands.ts#L62
Type 'string' is not assignable to type 'LanguageCode | undefined'.
build-and-test (20.x): src/bot/handlers/commands/setcommands.ts#L83
Type 'string' is not assignable to type 'LanguageCode | undefined'.
build-and-test (20.x): src/bot/helpers/logging.ts#L8
Type '{ message: (MessageXFragment & Message & NonChannel) | undefined; edited_message: (MessageXFragment & Message & Edited & NonChannel) | undefined; ... 20 more ...; purchased_paid_media?: PaidMediaPurchased | undefined; }' is not assignable to type 'Omit<Update, "update_id">'.
build-and-test (20.x): src/bot/index.ts#L38
Type 'new (update: import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/@grammyjs[email protected]/node_modules/@grammyjs/types/update").Update, api: import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/[email protected]/node_modules/grammy/out/core/api").Api<import("/home/runner/work/suggest-bot/s...' is not assignable to type 'new (update: import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/@grammyjs[email protected]/node_modules/@grammyjs/types/update").Update, api: import("/home/runner/work/suggest-bot/suggest-bot/node_modules/.pnpm/[email protected]/node_modules/grammy/out/core/api").Api<import("/home/runner/work/suggest-bot/s...'.
build-and-test (20.x)
Process completed with exit code 2.
build-and-test (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/