fablestudios / monorepo-changes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 100.0%