Skip to content

Add redirect util function for project custom actions #1951

Add redirect util function for project custom actions

Add redirect util function for project custom actions #1951

Triggered via pull request October 28, 2024 23:26
Status Failure
Total duration 3m 50s
Artifacts

staging-pipeline.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
test: src/server/adminJs/adminJsUtils.ts#L8
Replace `··const·refererIndex·=·request.rawHeaders.findIndex(h·=>·h.toLowerCase()·===·'referer');` with `const·refererIndex·=·request.rawHeaders.findIndex(⏎····h·=>·h.toLowerCase()·===·'referer',`
test: src/server/adminJs/adminJsUtils.ts#L9
Replace `··const·referrerUrl·=` with `);⏎··const·referrerUrl·=⏎···`
test: src/server/adminJs/adminJsUtils.ts#L10
Delete `····`
test: src/server/adminJs/adminJsUtils.ts#L11
Delete `··`
test: src/server/adminJs/adminJsUtils.ts#L12
Delete `··`
test: src/server/adminJs/adminJsUtils.ts#L13
Delete `····`
test: src/server/adminJs/adminJsUtils.ts#L14
Delete `··`
test: src/server/adminJs/adminJsUtils.ts#L15
Delete `··`
test: src/server/adminJs/adminJsUtils.ts#L16
Replace `········` with `······`
test: src/server/adminJs/adminJsUtils.ts#L17
Delete `··`
Run linters
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/
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1, wearerequired/lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
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/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: aws-actions/configure-aws-credentials@v2, 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/