diff --git a/.github/workflows/dev-checks.yml b/.github/workflows/dev-checks.yml index b4462815..d3a0075a 100644 --- a/.github/workflows/dev-checks.yml +++ b/.github/workflows/dev-checks.yml @@ -21,6 +21,8 @@ jobs: cache: 'npm' - name: Install dependencies run: npm ci + - name: Check for manual changes to API + run: npm run api && [ -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: Run build run: npm run build - name: Run lint check