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:

  1. format:check
  2. lint
  3. build
  4. test

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.

Put Screenly on your screens

Book a demo and we will walk you and your IT team through it, or start a free trial on a screen you already have.