Skip to content

SERVER_ORIGIN, WEB_ORIGIN, WEB_ORIGIN_BUILD etc の代わりに CORS_ALLOW_ORIGINS を使う #1262

SERVER_ORIGIN, WEB_ORIGIN, WEB_ORIGIN_BUILD etc の代わりに CORS_ALLOW_ORIGINS を使う

SERVER_ORIGIN, WEB_ORIGIN, WEB_ORIGIN_BUILD etc の代わりに CORS_ALLOW_ORIGINS を使う #1262

Triggered via pull request November 8, 2024 05:20
Status Failure
Total duration 1m 13s
Artifacts

ci.yml

on: pull_request
Build
1m 3s
Build
Code style check via Biome
20s
Code style check via Biome
Type Check
35s
Type Check
Spell Check
23s
Spell Check
Bun Test
35s
Bun Test
Deploy Test (web)
1m 2s
Deploy Test (web)
Deploy Test (server)
15s
Deploy Test (server)
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
error: function panic() called for reason: "env CORS_ALLOW_ORIGINS is missing": server/src/lib/utils.ts#L2
at panic (/home/runner/work/CourseMate/CourseMate/server/src/lib/utils.ts:2:9) at /home/runner/work/CourseMate/CourseMate/server/src/index.ts:22:37 at 2:1
Bun Test
Process completed with exit code 2.
Deploy Test (server)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy Test (web)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/