Loading tutorials
npm test, but the structure is the same for other languages.3 min read.github/workflows that runs your tests. Here you control the on: key, which decides which events start the workflow.2 min read.github/workflows. It explains how the pieces inside that file relate to each other, because most early mistakes come from mixing them up.3 min readpush and pull_request, as built in the earlier chapters. Here you learn to read what that workflow reports and to find the cause of a failure quickly.2 min readpull_request and that you have admin access to a GitHub repository. A failing workflow only warns people. To stop a broken change from reaching main, you must tell GitHub that the check is required.3 min readjobs, steps, runs-on and uses fit together. You should also know that actions/setup-node installs a Node.js version.3 min readnpm test. It also assumes you know what a lockfile is.3 min readnpm test. It covers how to pass configuration to your tests, and how to pass sensitive values without exposing them.2 min readnpm test. It also assumes you know what a Docker image is and have a project whose integration tests need a database.2 min readpush and pull_request triggers, and that you know what jobs and steps are. It covers two workflow-level settings: permissions, which limits what the workflow can do, and concurrency, which stops runs that are no longer needed.3 min read