mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update _check.yml
This commit is contained in:
parent
9fd50784fa
commit
19f30118e8
1 changed files with 7 additions and 11 deletions
18
.github/workflows/_check.yml
vendored
18
.github/workflows/_check.yml
vendored
|
@ -8,16 +8,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Download channels from API
|
||||||
|
run: |
|
||||||
|
mkdir -p scripts/data
|
||||||
|
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
||||||
- id: files
|
- id: files
|
||||||
uses: jitterbit/get-changed-files@v1
|
uses: jitterbit/get-changed-files@v1
|
||||||
- run: |
|
- run: npm install
|
||||||
for changed_file in ${{ steps.files.outputs.added_modified }}; do
|
- run: npm run lint -- ${{ steps.files.outputs.added_modified }}
|
||||||
echo "Do something with this ${changed_file}."
|
- run: npm run validate -- ${{ steps.files.outputs.added_modified }}
|
||||||
done
|
|
||||||
# - name: Download channels from API
|
|
||||||
# run: |
|
|
||||||
# mkdir -p scripts/data
|
|
||||||
# curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
|
||||||
# - run: npm install
|
|
||||||
# - run: npm run lint ${{ steps.files.outputs.added_modified }}
|
|
||||||
# - run: npm run validate ${{ steps.files.outputs.added_modified }}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue