Build: Detect circular dependencies with Madge (#17924)

* feat: adds script to run madge in a CI environment

* build: adds check for circular dependencies

* build: move actions higher up

* build: only print annotation once

* build: make script not fail CI until dependencies are fixed
This commit is contained in:
Jacob Overgaard
2025-01-15 10:19:43 +01:00
committed by GitHub
parent 1c468e2088
commit c8547d9ff0
3 changed files with 78 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ jobs:
cache: npm
cache-dependency-path: ./src/Umbraco.Web.UI.Client/package-lock.json
- run: npm ci --no-audit --no-fund --prefer-offline
- name: Check for circular dependencies
run: node devops/circular/index.js src
- run: npm run lint:errors
- run: npm run build:for:cms
- run: npm run check:paths