A checks action runs an Edge App's formatting, lint, build, and tests in 1 step
The checks action installs an Edge App's dependencies with Bun and runs its format check, lint, build, and tests, in that order.
The checks action runs the usual CI steps for an Edge App as 1 step in your workflow. Add it after
the checkout step:
- uses: Screenly/edge-apps-actions/checks@v1
with:
bun-version: latest # optional
It sets up Bun, installs dependencies with bun install --frozen-lockfile, and then runs these
scripts from your package.json, stopping at the first one that fails:
format:checklintbuildtest
So the repo needs all 4 scripts and a committed Bun lockfile. bun-version picks the Bun release,
and it's latest when you leave it out.