Update playlist/validate.js

This commit is contained in:
Aleksandr Statciuk
2022-02-14 12:00:05 +03:00
parent a3e6764c00
commit 14072a20ef
13 changed files with 154 additions and 1378 deletions

View File

@@ -13,6 +13,11 @@ jobs:
with:
node-version: '14'
cache: 'npm'
- name: Download data from API
run: |
mkdir -p scripts/data
curl -L -o scripts/data/blocklist.json https://iptv-org.github.io/api/blocklist.json
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
- run: npm install
- run: npm run lint
- run: npm run validate