github-actions-test-jobslisted
Install: claude install-skill testland/qa
# github-actions-test-jobs
## Overview
Test workflows are YAML files in `.github/workflows/` that run jobs on
trigger events ([gha][gha]). This skill sets up the idiomatic patterns -
matrix builds, sharding, service containers, JUnit reporting, trigger
filtering, concurrency, and secrets. Start with the minimal pattern in
Step 1.
[gha]: https://docs.github.com/en/actions/using-workflows/about-workflows
[syntax]: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax
[events]: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
[secure]: https://docs.github.com/en/actions/reference/security/secure-use
[limits]: https://docs.github.com/en/actions/reference/limits
[billing]: https://docs.github.com/en/billing/concepts/product-billing/github-actions
[jest-shard]: https://jestjs.io/docs/cli#--shard
[retry]: https://github.com/nick-fields/retry
## When to use
- Project on GitHub.
- Need to set up test CI for a new repo.
- Existing GitHub Actions workflows need standardization.
## How to use
1. Add `.github/workflows/test.yml` triggered on `pull_request`
and push to `main`; check out the repo and set up the runtime
(Step 1).
2. Install dependencies and run the suite (`npm ci` then
`npm test`).
3. Add a build matrix over OS and runtime versions with
`fail-fast: false` for multi-target signal (Step 2), and shard
large suites across parallel jobs (Step 3).
4. Wire any service containers the t