Skip to content

Update Typescript for the new API Version #2377

Update Typescript for the new API Version

Update Typescript for the new API Version #2377

Triggered via pull request August 17, 2023 08:52
Status Failure
Total duration 2m 2s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Matrix: test
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 22 warnings
Test (18): types/test/typescriptTest.ts#L12
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (18)
Process completed with exit code 2.
Test (16): types/test/typescriptTest.ts#L12
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (16)
Process completed with exit code 2.
Test (19): types/test/typescriptTest.ts#L12
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (19)
Process completed with exit code 2.
Test (14): types/test/typescriptTest.ts#L12
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (14)
The operation was canceled.
Test (12): types/test/typescriptTest.ts#L12
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (12)
The operation was canceled.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build: src/RequestSender.ts#L42
Argument 'obj' should be typed with a non-any type
Build: src/RequestSender.ts#L281
Forbidden non-null assertion
Build: src/RequestSender.ts#L282
Forbidden non-null assertion
Build: src/StripeEmitter.ts#L40
Forbidden non-null assertion
Build: src/StripeResource.ts#L62
Forbidden non-null assertion
Build: src/StripeResource.ts#L130
Forbidden non-null assertion
Build: src/Webhooks.ts#L441
Forbidden non-null assertion
Build: src/platform/NodePlatformFunctions.ts#L57
Forbidden non-null assertion
Build: src/stripe.core.ts#L190
Forbidden non-null assertion
Build: src/stripe.core.ts#L191
Forbidden non-null assertion
Test (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (16)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (19)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (19)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (14)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (12)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/