Skip to content

CI: checks on every PR, autodeploy from main - #19

Merged
freethinkel merged 4 commits into
mainfrom
fmc(pipelines)
Jul 31, 2026
Merged

CI: checks on every PR, autodeploy from main#19
freethinkel merged 4 commits into
mainfrom
fmc(pipelines)

Conversation

@freethinkel

@freethinkel freethinkel commented Jul 31, 2026

Copy link
Copy Markdown
Owner

One workflow, two jobs.

check (every PR + push to main): oxlintoxfmt --checksvelte-checkvitest (the browser project too, hence the chromium install). Green locally: 151 tests, 0 type errors.

deploy (needs: check, main only — so a merged PR counts): private key from the secret, ssh-keyscan of the host, then the existing make deploy (pnpm build + rsync into /root/fmc_pocketbase/www).

DEPLOY_KEY / DEPLOY_HOST secrets are already set, the public key is in the server's authorized_keys, and the login was verified.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BoX3XVqTj1NmubiDkHmWaQ

freethinkel and others added 2 commits July 31, 2026 18:40
Lint, format, types and the full vitest run (browser project included, so
chromium gets installed) gate every pull request. A push to main that clears
them rsyncs the static build to the box through the existing make target —
the deploy key and host live in repo secrets.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoX3XVqTj1NmubiDkHmWaQ
The old line covered code comments alone, which left commit messages, PR text
and docs to guesswork — and one PR description already went out in Russian.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoX3XVqTj1NmubiDkHmWaQ
freethinkel and others added 2 commits July 31, 2026 18:52
Reviewing a PR means running its postinstall scripts and its lint plugins, and
the host has ssh keys on it. The image is the plain typescript-node one; the
only two lines with a story are the node_modules volume, so a reviewed branch
installs over its own copy rather than the host's, and the chown that makes
that volume writable by the time the first install runs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoX3XVqTj1NmubiDkHmWaQ
Publishing the port made the second container fight the first one for it, and
Zed was left with two candidates it couldn't choose between. Zed doesn't honour
forwardPorts yet anyway — it tunnels a listening dev server on its own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoX3XVqTj1NmubiDkHmWaQ
@freethinkel
freethinkel merged commit cadc2e1 into main Jul 31, 2026
1 check passed
@freethinkel
freethinkel deleted the fmc(pipelines) branch July 31, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant