Adds integrity check of formatter as a CI/CD step #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/language-support/src/formatting/**' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/language-support/src/formatting/**' | |
| jobs: | |
| formatting-integrity-check: | |
| name: Formatter integrity check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup antlr4 | |
| uses: ./.github/actions/setup-antlr4 | |
| - name: Install dependencies with frozen lock file and generate parser | |
| run: npm ci | |
| - name: Build Project | |
| run: npm run build | |
| - name: Run formatting check | |
| run: npm run test:formattingIntegrity |