Skip to content

Commit fd8ca41

Browse files
committed
Add JSON workflow at GitHub Actions
1 parent 34889bb commit fd8ca41

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/json.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: JSON
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
format:
7+
name: Format
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 5
10+
steps:
11+
- name: Checkout
12+
uses: actions/[email protected]
13+
- name: Prettier
14+
run: docker run --rm -v ${PWD}:/work tmknom/prettier --list-different --parser=json '**/*.json'

0 commit comments

Comments
 (0)