refactor: Convert UI files to TS #5889
ci.yml
on: pull_request
Install deps
25s
Build Self Hosted Image
/
Build Self Hosted App
4m 52s
Codecov Startup
/
Codecov Startup
19s
Generate runner indexes Vitest
5s
Run Lint
57s
Run Type Checker
45s
Run Prettier Check
38s
Upload Bundle Stats - Production
1m 50s
Upload Bundle Stats - Staging
1m 48s
Run storybook
1m 47s
Run Fossa
14s
Build Self Hosted Image
/
Push Self Hosted Image
0s
Build Self Hosted Image
/
Push Self Hosted Release Image
0s
Matrix: test-vitest
Build App
0s
Push Self Hosted Image
/
Push Self Hosted Image
Push Self Hosted Image
/
Push Self Hosted Release Image
Annotations
17 errors and 1 warning
Unhandled error:
src/ui/Dropdown/Dropdown.tsx#L80
ReferenceError: window is not defined
❯ getCurrentEventPriority node_modules/react-dom/cjs/react-dom.development.js:10993:22
❯ requestUpdateLane node_modules/react-dom/cjs/react-dom.development.js:25495:19
❯ setWasJustClosed node_modules/react-dom/cjs/react-dom.development.js:16648:14
❯ Timeout._onTimeout src/ui/Dropdown/Dropdown.tsx:80:8
❯ listOnTimeout node:internal/timers:581:17
❯ processTimers node:internal/timers:519:7
This error originated in "src/App.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Unhandled error:
src/ui/Dropdown/Dropdown.tsx#L80
ReferenceError: window is not defined
❯ getCurrentEventPriority node_modules/react-dom/cjs/react-dom.development.js:10993:22
❯ requestUpdateLane node_modules/react-dom/cjs/react-dom.development.js:25495:19
❯ setWasJustClosed node_modules/react-dom/cjs/react-dom.development.js:16648:14
❯ Timeout._onTimeout src/ui/Dropdown/Dropdown.tsx:80:8
❯ listOnTimeout node:internal/timers:581:17
❯ processTimers node:internal/timers:519:7
This error originated in "src/App.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Test Runner #0 - Vitest
Process completed with exit code 1.
|
Test Runner #5 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #5 - Vitest
The operation was canceled.
|
Test Runner #6 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #6 - Vitest
The operation was canceled.
|
Test Runner #7 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #7 - Vitest
The operation was canceled.
|
Test Runner #1 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #1 - Vitest
The operation was canceled.
|
Test Runner #2 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #2 - Vitest
The operation was canceled.
|
Test Runner #3 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #3 - Vitest
The operation was canceled.
|
Test Runner #4 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #4 - Vitest
The operation was canceled.
|
Build Self Hosted Image / Build Self Hosted App
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|