Bump SonarSource/sonarqube-scan-action from 5ffbad44543237d1b339a5ed57a774432e19f3e4 to ba6563cca79df854af1350ec3dc5881313ec2d3c #181
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
| --- | |
| name: Prettier JSON Lint | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: ['main'] | |
| workflow_dispatch: | |
| jobs: | |
| json-lint: | |
| name: 'Prettier JSON Lint' | |
| runs-on: ['ubuntu-24.04'] | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 24.x | |
| - name: Install Prettier | |
| run: | | |
| npm install -g [email protected] | |
| - name: Prettier LINT / Style JSON | |
| run: > | |
| prettier --check ./src/**/*.json |