Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 608 Bytes

File metadata and controls

30 lines (20 loc) · 608 Bytes

run

Runs one or more package.json scripts in parallel using a matrix strategy. Useful for lint, test, and type-check jobs.

Inputs

Name Type Required Default Description
commands string Yes JSON array of script names, e.g. '["lint","test","types"]'

Secrets

None.

Usage

name: CI

on:
  pull_request:

jobs:
  check:
    uses: bombshell-dev/automation/.github/workflows/run.yml@main
    with:
      commands: '["lint","test","types"]'

Each command runs as a separate matrix job, so they execute in parallel.