e-square-io/Nx affected matrix
Calculates changes in NX workspace and outputs a JSON that can be used as GitHub's job matrix
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| targets | comma-delimited targets to run | yes | test,build |
| args | space-delimited args to add to nx command execution | no | — |
| maxDistribution | Maximum distribution of jobs per target | no | 3 |
| maxParallel | Maximum distribution of jobs per target | no | 3 |
| workingDirectory | Path to the Nx workspace, needed if not the repository root | no | — |
| main-branch | The 'main' branch of your repository (the base branch which you target with PRs). | no | main |
| workflow-id | The ID of the github action workflow to check for successful run or the name of the file name containing the workflow. | no | — |
| checkout | Should the action do git checkout | no | true |
| debug | Enable Debug mode | no | false |
Outputs
| name | description |
|---|---|
| matrix | The matrix that should be used in next job's matrix strategy |
| apps | A comma-delimited list of the affected apps |
| libs | A comma-delimited list of the affected libs (including non buildable libs) |
| hasChanges | Returns true when there are changes, can be used to skip next steps |