-
Notifications
You must be signed in to change notification settings - Fork 86
44 lines (42 loc) · 1.54 KB
/
json_lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Check JSON files
on:
push:
branches:
- '**'
paths-ignore:
- 'README.md'
- '.gitignore'
- '.gitattributes'
- '.github/ISSUE_TEMPLATE/**/*'
- '.github/CONTRIBUTING.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node environment
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Install jsonlint
run: npm install jsonlint -g
- name: Check anime-offline-database.json
run: jsonlint -q anime-offline-database.json
- name: Check anime-offline-database-minified.json
run: jsonlint -q anime-offline-database-minified.json
- name: Check dead-entries for anidb
run: jsonlint -q dead-entries/anidb.json
- name: Check dead-entries for anidb-minified.json
run: jsonlint -q dead-entries/anidb-minified.json
- name: Check dead-entries for anilist
run: jsonlint -q dead-entries/anilist.json
- name: Check dead-entries for anilist-minified.json
run: jsonlint -q dead-entries/anilist-minified.json
- name: Check dead-entries for kitsu
run: jsonlint -q dead-entries/kitsu.json
- name: Check dead-entries for kitsu-minified.json
run: jsonlint -q dead-entries/kitsu-minified.json
- name: Check dead-entries for myanimelist
run: jsonlint -q dead-entries/myanimelist.json
- name: Check dead-entries for myanimelist-minified.json
run: jsonlint -q dead-entries/myanimelist-minified.json