-
Notifications
You must be signed in to change notification settings - Fork 88
36 lines (34 loc) · 1.07 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
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 anilist
run: jsonlint -q dead-entries/anilist.json
- name: Check dead-entries for kitsu
run: jsonlint -q dead-entries/kitsu.json
- name: Check dead-entries for myanimelist
run: jsonlint -q dead-entries/myanimelist.json