From c0590343cdae562581269738076f6976841f4e7d Mon Sep 17 00:00:00 2001 From: Sam Mayer Date: Thu, 3 Oct 2024 14:47:14 -0500 Subject: [PATCH] Add CI check for circular deps --- .github/workflows/circular-dependencies.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/circular-dependencies.yml diff --git a/.github/workflows/circular-dependencies.yml b/.github/workflows/circular-dependencies.yml new file mode 100644 index 000000000..8360456f3 --- /dev/null +++ b/.github/workflows/circular-dependencies.yml @@ -0,0 +1,19 @@ +name: Circular Dependencies +on: [pull_request] + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: setup node + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 + with: + node-version: 20 + cache-dependency-path: pepr + - name: Checkout Repository + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - name: Circular Dependency Check + run: npx madge --help