Files
portal/.gitea/workflows
sharang fdfc45f1c9
ci / image (pull_request) Has been skipped
ci / shared (pull_request) Successful in 4s
ci / test (pull_request) Successful in 27s
ci / e2e (pull_request) Has been skipped
ci(portal): fix pnpm test invocation + inject AUTH_SECRET at build
Two CI bugs the M0.2 ci-typescript.yaml template carried into portal:

1. 'pnpm test --coverage' is parsed as a pnpm option, not script args
   ('Unknown option: coverage'). Drop the extra flag; the package.json
   test script already runs 'vitest run --coverage'.

2. 'next build' requires AUTH_SECRET at compile time because Auth.js
   v5 reads it during route generation. Inject a per-build dummy
   secret in CI (production gets the real one via Orca env from
   Infisical).

Refs: M5.1
2026-05-18 23:06:21 +02:00
..