Skip to content

Update Typescript for the new API Version #2378

Update Typescript for the new API Version

Update Typescript for the new API Version #2378

Triggered via pull request August 17, 2023 09:01
Status Failure
Total duration 3m 53s
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

8 errors and 28 warnings
Test (16)
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (16)
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (16)
Process completed with exit code 2.
Test (18)
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (18)
Type '"2022-11-15"' is not assignable to type '"2023-08-16"'.
Test (18)
Process completed with exit code 2.
Test (14)
The operation was canceled.
Test (19)
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 (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/
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 (16): testProjects/mjs-ts/index.ts#L9
'defaultStripe' is assigned a value but never used
Test (16): testProjects/mjs-ts/index.ts#L20
Unexpected any. Specify a different type
Test (16): testProjects/mjs-ts/index.ts#L31
'pi' is assigned a value but never used
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 (18): testProjects/mjs-ts/index.ts#L9
'defaultStripe' is assigned a value but never used
Test (18): testProjects/mjs-ts/index.ts#L20
Unexpected any. Specify a different type
Test (18): testProjects/mjs-ts/index.ts#L31
'pi' is assigned a value but never used
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 (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/