# Tests on Every Push with GitHub Actions

A GitHub Actions workflow in .github/workflows/ci.yml runs npm ci, the linter, the format check and the tests on a fresh computer at every push and pull request, so a broken change shows up as a red cross on its commit, with a log that says which step failed and why.

![Cheat sheet: Tests on Every Push with GitHub Actions](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/2b1b07a8fb204b2496d2f0f6751558be.webp)

- Category: Node.js
- Level: Journeyman
- Tags: Continuous Integration, github actions, nodejs, Runner, software-development, Status Badge, Step, Workflow
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-pro-github-actions-ci-cheat-sheet
