Bump grammy from 1.27.0 to 1.31.1 #1174
main.yml
on: pull_request
Matrix: build-and-test
auto-merge
0s
Annotations
4 errors and 1 warning
build-and-test (20.x):
src/bot/context.ts#L45
Argument of type 'import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/@grammyjs/types/manage").UserFromGetMe' is not assignable to parameter of type 'import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/grammy/node_modules/@grammyjs/types/manage").UserFromGetMe'.
|
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#L42
Type 'new (update: import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/@grammyjs/types/update").Update, api: import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/grammy/out/core/api").Api<import("/home/runner/work/telegram-bot-template/telegram-bot-template/node...' is not assignable to type 'new (update: import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/grammy/node_modules/@grammyjs/types/update").Update, api: import("/home/runner/work/telegram-bot-template/telegram-bot-template/node_modules/grammy/out/core/api").Api<import("/home/runner/work/telegram-bot-template/telegr...'.
|
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, 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/
|