Skip to content

Add CI: lint, format, and test on main + PRs #1

Add CI: lint, format, and test on main + PRs

Add CI: lint, format, and test on main + PRs #1

Triggered via pull request July 8, 2026 08:02
Status Failure
Total duration 26s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
check
Process completed with exit code 1.
error: expect(received).toContain(expected): server/test/cli-env.test.ts#L215
Expected to contain: "Removed TOKEN" \u001b[39m Removed \u001b[1mTOKEN\u001b[22m\u001b[2m (falls back to .env)\u001b[22m\n" at <anonymous> (/home/runner/work/moi/moi/server/test/cli-env.test.ts:215:26)
error: expect(received).toContain(expected): server/test/cli-env.test.ts#L190
Expected to contain: "Set A" OS keychain unavailable.\u001b[22m\n" at <anonymous> (/home/runner/work/moi/moi/server/test/cli-env.test.ts:190:24)
error: expect(received).toContain(expected): server/test/cli-env.test.ts#L148
Expected to contain: "Set API_KEY" OS keychain unavailable.\u001b[22m\n" at <anonymous> (/home/runner/work/moi/moi/server/test/cli-env.test.ts:148:24)
error: expect(received).not.toMatch(expected): server/test/cli-env.test.ts#L118
Expected substring or pattern: not /\x1b\[/ Received: "\n\u001B[1mWorkspace:\u001B[22m /tmp/moi-cli-ws-Oqkc8r\u001B[2m\u001B[22m\n\n\u001B[1m.env files\u001B[22m \u001B[2minherited: on\u001B[22m\n .env \u001B[2m1 key\u001B[22m\n\n\u001B[2mKEY\u001B[22m \u001B[2mSOURCE\u001B[22m\nA .env\n\n\u001B[2mSecrets stored in: file (0600)\u001B[22m\n\n" at <anonymous> (/home/runner/work/moi/moi/server/test/cli-env.test.ts:118:28)
check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/