Skip to content

[B2BP-1011] Normalize URI in cloudfront-functions #2916

[B2BP-1011] Normalize URI in cloudfront-functions

[B2BP-1011] Normalize URI in cloudfront-functions #2916

Triggered via pull request January 13, 2025 10:26
Status Failure
Total duration 5m 11s
Artifacts

code_review.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
Code checks
cloudfront-functions#test: command (/home/runner/work/b2b-portals/b2b-portals/apps/cloudfront-functions) /usr/local/bin/npm run test exited (1)
src/__tests__/viewer-request-handler.test.ts > handler > should append the html suffix: apps/cloudfront-functions/src/__tests__/viewer-request-handler.test.ts#L38
AssertionError: expected '/font.woff2.html' to be '/font.woff2' // Object.is equality - Expected + Received - /font.woff2 + /font.woff2.html ❯ src/__tests__/viewer-request-handler.test.ts:38:51
Code checks
Process completed with exit code 1.
Compile project
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Compile project
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code checks
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Code checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636