Skip to content

feat: checkContext type safety #160

feat: checkContext type safety

feat: checkContext type safety #160

Triggered via push March 11, 2026 12:59
Status Success
Total duration 44s
Artifacts

nodejs.yml

on: push
build
14s
build
Are The Types Wrong?
32s
Are The Types Wrong?
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

35 warnings
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Are The Types Wrong?
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (22.x): src/hooks/create-related/create-related.hook.test.ts#L161
'context' is defined but never used. Allowed unused args must match /^_/u
test (22.x): src/hooks/create-related/create-related.hook.test.ts#L144
'item' is defined but never used. Allowed unused args must match /^_/u
test (22.x): src/hooks/create-related/create-related.hook.test.ts#L93
'bad' is assigned a value but never used. Allowed unused vars must match /^_/u
test (22.x): src/hooks/cache/cache.hook.test.ts#L771
Replace `·type:·'invalidate',·method:·'patch'` with `⏎······type:·'invalidate',⏎······method:·'patch',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L744
Replace `·type:·'hit',·method:·'find'` with `⏎······type:·'hit',⏎······method:·'find',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L737
Replace `·type:·'set',·method:·'find'` with `⏎······type:·'set',⏎······method:·'find',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L736
Replace `·type:·'miss',·method:·'find'` with `⏎······type:·'miss',⏎······method:·'find',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L716
Replace `·type:·'hit',·method:·'get'` with `⏎······type:·'hit',⏎······method:·'get',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L709
Replace `·type:·'set',·method:·'get'` with `⏎······type:·'set',⏎······method:·'get',⏎···`
test (22.x): src/hooks/cache/cache.hook.test.ts#L708
Replace `·type:·'miss',·method:·'get'` with `⏎······type:·'miss',⏎······method:·'get',⏎···`
test (20.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (20.x): src/hooks/create-related/create-related.hook.test.ts#L161
'context' is defined but never used. Allowed unused args must match /^_/u
test (20.x): src/hooks/create-related/create-related.hook.test.ts#L144
'item' is defined but never used. Allowed unused args must match /^_/u
test (20.x): src/hooks/create-related/create-related.hook.test.ts#L93
'bad' is assigned a value but never used. Allowed unused vars must match /^_/u
test (20.x): src/hooks/cache/cache.hook.test.ts#L771
Replace `·type:·'invalidate',·method:·'patch'` with `⏎······type:·'invalidate',⏎······method:·'patch',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L744
Replace `·type:·'hit',·method:·'find'` with `⏎······type:·'hit',⏎······method:·'find',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L737
Replace `·type:·'set',·method:·'find'` with `⏎······type:·'set',⏎······method:·'find',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L736
Replace `·type:·'miss',·method:·'find'` with `⏎······type:·'miss',⏎······method:·'find',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L716
Replace `·type:·'hit',·method:·'get'` with `⏎······type:·'hit',⏎······method:·'get',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L709
Replace `·type:·'set',·method:·'get'` with `⏎······type:·'set',⏎······method:·'get',⏎···`
test (20.x): src/hooks/cache/cache.hook.test.ts#L708
Replace `·type:·'miss',·method:·'get'` with `⏎······type:·'miss',⏎······method:·'get',⏎···`
test (24.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (24.x): src/hooks/create-related/create-related.hook.test.ts#L161
'context' is defined but never used. Allowed unused args must match /^_/u
test (24.x): src/hooks/create-related/create-related.hook.test.ts#L144
'item' is defined but never used. Allowed unused args must match /^_/u
test (24.x): src/hooks/create-related/create-related.hook.test.ts#L93
'bad' is assigned a value but never used. Allowed unused vars must match /^_/u
test (24.x): src/hooks/cache/cache.hook.test.ts#L771
Replace `·type:·'invalidate',·method:·'patch'` with `⏎······type:·'invalidate',⏎······method:·'patch',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L744
Replace `·type:·'hit',·method:·'find'` with `⏎······type:·'hit',⏎······method:·'find',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L737
Replace `·type:·'set',·method:·'find'` with `⏎······type:·'set',⏎······method:·'find',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L736
Replace `·type:·'miss',·method:·'find'` with `⏎······type:·'miss',⏎······method:·'find',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L716
Replace `·type:·'hit',·method:·'get'` with `⏎······type:·'hit',⏎······method:·'get',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L709
Replace `·type:·'set',·method:·'get'` with `⏎······type:·'set',⏎······method:·'get',⏎···`
test (24.x): src/hooks/cache/cache.hook.test.ts#L708
Replace `·type:·'miss',·method:·'get'` with `⏎······type:·'miss',⏎······method:·'get',⏎···`