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:
2
.github/workflows/test-backoffice.yml
vendored
2
.github/workflows/test-backoffice.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user