[B2BP-1011] Normalize URI in cloudfront-functions #2903
code_review.yaml
on: pull_request
Compile project
4m 15s
Code checks
34s
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#L36
AssertionError: expected '/page.html' to be '/page/' // Object.is equality
- Expected
+ Received
- /page/
+ /page.html
❯ src/__tests__/viewer-request-handler.test.ts:36:46
|
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
|