Two CI Pipelines a Commercial App Needs That a Side Project Can Skip
A hobby project can run on vibes and a linter. A commercial app needs a browser driving the UI and a workflow whose only job is asking 'is this secure?'
Every side project I have shipped ran on the same CI philosophy: lint, unit test, deploy, hope. That philosophy lasted exactly until I started building a commercial application with paying customers, at which point it became clear that two more pipelines were not optional extras — they were the minimum bar for something other people's businesses would run on.
A side project can skip both and lose nothing but your own time. A commercial app cannot.
Pipeline one: Playwright end-to-end tests
Unit tests tell you individual functions behave. They do not tell you that a button still opens the right modal after a refactor, or that a form still submits correctly once three unrelated components changed shape underneath it. A GitHub Actions workflow running Playwright drives the actual UI in a real browser, on every push, and catches the class of regression that unit tests structurally cannot see: the interaction between pieces, not the pieces themselves.
# illustrative — generic Playwright + GitHub Actions shape
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npx playwright install --with-deps
- run: npx playwright testThe cost is real — these suites are slower than unit tests and need real browser binaries — but the alternative is finding out about a broken checkout flow from a support ticket instead of a failed CI run.
Pipeline two: a dedicated security workflow
The second pipeline exists purely to ask "is this secure?" on every change, separately from whether the feature works. Keeping it as its own GitHub Actions workflow rather than folding it into the general test suite matters for a simple reason: it gets its own pass/fail signal, its own history, and its own place to add more scanning over time without tangling the logic with functional tests.
For a hobby project, skipping this is a reasonable trade — the worst case is your own embarrassment. For a commercial application handling business and customer data, a vulnerability is not an inconvenience; it is a breach of the trust the entire product is sold on.
Why paying customers raise the bar
Neither of these pipelines makes features ship faster. Both make it much less likely that a shipped feature quietly breaks something a customer depends on, or exposes something it should not. That trade only makes sense once someone other than you is affected by the failure — which is exactly the line between a side project and a commercial one.
The honest accounting: these two pipelines roughly doubled the CI time compared to a lint-and-unit-test setup. I have not once regretted that cost. The alternative was finding out about problems from the people paying me to prevent them.
Series: Building and Shipping.