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 6097b27 commit d8e1da1Copy full SHA for d8e1da1
2 files changed
.github/workflows/prettier-check.yml
@@ -0,0 +1,29 @@
1
+name: Prettier Format Check
2
+
3
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ paths:
7
+ - "tokens/**/*.json"
8
+ - ".github/workflows/prettier-check.yml"
9
+ branches:
10
+ - production
11
12
+permissions:
13
+ contents: read
14
15
+jobs:
16
+ prettier-check:
17
+ runs-on: ubuntu-latest
18
19
+ steps:
20
+ - name: Checkout repo
21
+ uses: actions/checkout@v4
22
23
+ - name: Setup Node
24
+ uses: actions/setup-node@v4
25
+ with:
26
+ node-version: 20
27
28
+ - name: Check formatting with Prettier
29
+ run: npx --yes prettier@latest --check "tokens/**/*.json"
tokens/vivo-evolution.json
@@ -4220,4 +4220,4 @@
4220
}
4221
4222
4223
-}
+}
0 commit comments