Skip to content

feat(routeHandler): use ts to reduce errors #4895

feat(routeHandler): use ts to reduce errors

feat(routeHandler): use ts to reduce errors #4895

Triggered via push November 20, 2023 06:39
Status Failure
Total duration 4m 34s
Artifacts

ci.yml

on: push
Determine if Build & Deploy is needed
0s
Determine if Build & Deploy is needed
Build and deploy to EB
0s
Build and deploy to EB
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 15 warnings
build: src/routes/v2/authenticated/collaborators.ts#L6
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/notifications.ts#L5
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/notifications.ts#L6
Module '"@middleware/routeHandler"' declares 'attachWriteRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/review.ts#L8
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/review.ts#L9
Module '"@middleware/routeHandler"' declares 'attachWriteRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/sites.ts#L6
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticated/users.ts#L9
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/authenticatedSites/repoManagement.ts#L8
Module '"@middleware/routeHandler"' declares 'attachWriteRouteHandlerWrapper' locally, but it is not exported.
build: src/routes/v2/sgidAuth.ts#L7
Module '"@middleware/routeHandler"' declares 'attachReadRouteHandlerWrapper' locally, but it is not exported.
build
Process completed with exit code 2.
test
Process completed with exit code 1.
Determine if Build & Deploy is needed
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
install
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: src/classes/Collection.js#L4
`@utils/yaml-utils` import should occur after import of `@utils/utils.js`
lint: src/classes/Config.js#L1
File has too many classes (2). Maximum allowed is 1
lint: src/classes/Directory.js#L1
File has too many classes (4). Maximum allowed is 1
lint: src/classes/File.js#L1
File has too many classes (10). Maximum allowed is 1
lint: src/classes/MediaFile.js#L1
File has too many classes (3). Maximum allowed is 1
lint: src/classes/ResourceRoom.js#L24
`js-base64` import should occur before import of `lodash`
lint: src/config/config.ts#L5
Unexpected any. Specify a different type
lint: src/config/config.ts#L13
Unexpected any. Specify a different type
lint: src/config/config.ts#L20
Unexpected use of 'isNaN'. Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan
lint: src/config/config.ts#L34
Unexpected any. Specify a different type
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/