From c47a5981f1aa65487d944777fad11521f64d9d0b Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Wed, 12 Nov 2025 21:57:28 +0700 Subject: [PATCH] Enable formatting check --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d0c2e306d..81ca764570 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,16 @@ jobs: - name: Rush test run: node common/scripts/install-run-rush.js test --verbose - name: Publish packages + - name: Formatting... + run: node common/scripts/install-run-rush.js format --force + - name: Check files formatting + run: | + echo '================================================================' + echo 'Checking for diff files' + echo '================================================================' + git diff '*.js' '*.ts' '*.svelte' '*.json' '*.yaml' | cat + [ -z "$(git diff --name-only '*.js' '*.ts' '*.svelte' '*.json' '*.yaml' | cat)" ] + echo '================================================================' if: startsWith(github.ref, 'refs/tags/v0.7.') || startsWith(github.ref, 'refs/tags/s0.7.') env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }}