Skip to content

feat(usePerformanceStatus): introduce idle detection, visibility api,… #13

feat(usePerformanceStatus): introduce idle detection, visibility api,…

feat(usePerformanceStatus): introduce idle detection, visibility api,… #13

Triggered via push October 27, 2024 00:50
Status Success
Total duration 1m 0s
Artifacts

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
Build, lint, and test on Node 20.x and macOS-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build, lint, and test on Node 20.x and macOS-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build, lint, and test on Node 20.x and macOS-latest: src/usePerformanceStatus.ts#L60
Assignments to the 'pageVisible' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 20.x and macOS-latest: src/usePerformanceStatus.ts#L114
Assignments to the 'lastLogTime' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 18.x and ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build, lint, and test on Node 18.x and ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build, lint, and test on Node 18.x and ubuntu-latest: src/usePerformanceStatus.ts#L60
Assignments to the 'pageVisible' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 18.x and ubuntu-latest: src/usePerformanceStatus.ts#L114
Assignments to the 'lastLogTime' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 20.x and ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build, lint, and test on Node 20.x and ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build, lint, and test on Node 20.x and ubuntu-latest: src/usePerformanceStatus.ts#L60
Assignments to the 'pageVisible' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 20.x and ubuntu-latest: src/usePerformanceStatus.ts#L114
Assignments to the 'lastLogTime' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 18.x and macOS-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build, lint, and test on Node 18.x and macOS-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build, lint, and test on Node 18.x and macOS-latest: src/usePerformanceStatus.ts#L60
Assignments to the 'pageVisible' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Build, lint, and test on Node 18.x and macOS-latest: src/usePerformanceStatus.ts#L114
Assignments to the 'lastLogTime' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect