Use this action to determine which “workspaces” within a monorepo have changed on a commit or in a pull request.
See action.yml
for descriptions of this action’s outputs.
- uses: silverlyra/monorepo-changes@v0.1
id: changes
- name: Build backend
if: fromJSON(steps.changes.outputs.changes)['packages/backend']
run: >-
...
- name: Build frontend
if: fromJSON(steps.changes.outputs.changes)['packages/frontend']
run: >-
...