8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de48249 commit 2ae03dbCopy full SHA for 2ae03db
.github/workflows/prettier-json.yml
@@ -0,0 +1,30 @@
1
+---
2
+name: Prettier JSON Lint
3
+
4
+on: # yamllint disable-line rule:truthy
5
+ push:
6
+ branches: ['main']
7
+ pull_request:
8
+ # The branches below must be a subset of the branches above
9
10
+ workflow_dispatch:
11
12
+jobs:
13
+ json-lint:
14
+ name: 'Prettier JSON Lint'
15
+ runs-on: ['ubuntu-24.04']
16
+ steps:
17
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 24.x
23
24
+ - name: Install Prettier
25
+ run: |
26
+ npm install -g prettier@3.5.3
27
28
+ - name: Prettier LINT / Style JSON
29
+ run: >
30
+ prettier --check ./src/**/*.json
0 commit comments