File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Prettier JSON
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
+ branches : ['main']
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ name : ' Prettier JSON'
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 --include=dev [email protected]
27
+
28
+ - name : Prettier LINT / Style JSON
29
+ run : >
30
+ coverage run -m pytest --verbose
31
+ -o log_cli=true
32
+ --log-cli-level=INFO
33
+ src/
34
+
35
+ - name : Coverage
36
+ run : |
37
+ coverage report
You can’t perform that action at this time.
0 commit comments