Skip to content

refactor: add useToast hook for toast notifications #5652

refactor: add useToast hook for toast notifications

refactor: add useToast hook for toast notifications #5652

Triggered via pull request August 29, 2024 16:39
Status Failure
Total duration 5m 48s
Artifacts

pull-request.yml

on: pull_request
Check file changes
4s
Check file changes
Build React App
1m 47s
Build React App
Run Integration tests
5m 30s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
1m 50s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
2m 37s
E2E tests
Upsert Vultr Instance
0s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
0s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
Build React App
'toast' is possibly 'null'.
Build React App
Type '{ success: (message: string) => void; warning: (message: string) => void; info: (message: string) => void; error: (message: string) => void; remove: (id: number) => void; }' is not assignable to type 'null'.
Build React App
'toast' is possibly 'null'.
Build React App
Property 'type' does not exist on type 'never'.
Build React App
Process completed with exit code 1.
Run React Tests
'toast' is possibly 'null'.
Run React Tests
Type '{ success: (message: string) => void; warning: (message: string) => void; info: (message: string) => void; error: (message: string) => void; remove: (id: number) => void; }' is not assignable to type 'null'.
Run React Tests
'toast' is possibly 'null'.
Run React Tests
Property 'type' does not exist on type 'never'.
Run React Tests
Process completed with exit code 1.
E2E tests
'toast' is possibly 'null'.
E2E tests
Type '{ success: (message: string) => void; warning: (message: string) => void; info: (message: string) => void; error: (message: string) => void; remove: (id: number) => void; }' is not assignable to type 'null'.
E2E tests
'toast' is possibly 'null'.
E2E tests
Property 'type' does not exist on type 'never'.
E2E tests
Process completed with exit code 1.
Check file changes
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run React Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E tests
No files were found with the provided path: e2e/tests/ui-driven/test-results/. No artifacts will be uploaded.
Run Integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/