Skip to content

Fix tests in Node v23 #2178

Fix tests in Node v23

Fix tests in Node v23 #2178

Triggered via push November 25, 2024 08:33
Status Failure
Total duration 2m 9s
Artifacts

lint-code.yml

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

Annotations

2 errors and 7 warnings
build (18.x): library/sinks/Prisma.ts#L93
Unexpected 'todo' comment: 'Todo support mongodb methods'
build (18.x)
Process completed with exit code 2.
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@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 (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (18.x): library/agent/api-discovery/getApiInfo.ts#L12
exported declaration 'APIBodyInfo' not used within other modules
build (18.x): library/agent/api/Event.ts#L34
exported declaration 'User' not used within other modules
build (18.x): library/sources/graphql/extractInputsFromDocument.test.ts#L14
'/home/runner/work/firewall-node/firewall-node/library/node_modules/graphql/index.mjs' imported multiple times
build (18.x): library/sources/graphql/extractInputsFromDocument.test.ts#L17
'/home/runner/work/firewall-node/firewall-node/library/node_modules/graphql/index.mjs' imported multiple times
build (18.x): library/sources/koa/wrapRouterMiddleware.ts#L4
exported declaration 'wrapRouterMiddleware' not used within other modules