From b5eab82318c1f5b9a40524945b95ebc1ece70b3b Mon Sep 17 00:00:00 2001 From: regexowl Date: Fri, 11 Oct 2024 10:31:49 +0200 Subject: [PATCH] workflows: Add check for circular dependencies This adds a check for circular dependencies into dev-check, to make sure we don't introduce new problems in the future. --- .github/workflows/dev-checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dev-checks.yml b/.github/workflows/dev-checks.yml index 11ec8cf1..2110f5b6 100644 --- a/.github/workflows/dev-checks.yml +++ b/.github/workflows/dev-checks.yml @@ -19,6 +19,8 @@ jobs: run: npm ci - name: Check for manual changes to API run: npm run api:generate && [ -z "$(git status --porcelain=v1 2>/dev/null)" ] && echo "✓ No manual API changes." || echo "✗ API manually changed, please refer to the README for the procedure to follow for programmatically generated API endpoints." && [ -z "$(git status --porcelain=v1 2>/dev/null)" ] + - name: Check for circular dependencies + run: npm run circular - name: Run build run: npm run build - name: Run lint check