Skip to content

GitHub Action for checking which workspaces in a monorepo changed in a commit or PR

License

Notifications You must be signed in to change notification settings

Nortech-ai/monorepo-changes

 
 

Repository files navigation

monorepo-changes

build-test

Use this action to determine which “workspaces” within a monorepo have changed on a commit or in a pull request.

Usage

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: >-
    ...

About

GitHub Action for checking which workspaces in a monorepo changed in a commit or PR

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%