mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 03:16:53 -05:00
Update _check.yml
This commit is contained in:
8
.github/workflows/_check.yml
vendored
8
.github/workflows/_check.yml
vendored
@@ -17,15 +17,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p scripts/data
|
mkdir -p scripts/data
|
||||||
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
||||||
|
- uses: tj-actions/changed-files@v12.2
|
||||||
|
id: files
|
||||||
|
with:
|
||||||
|
files: 'sites'
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- uses: tj-actions/changed-files@v12.2
|
|
||||||
id: files
|
|
||||||
with:
|
|
||||||
files: 'sites'
|
|
||||||
- name: validate
|
- name: validate
|
||||||
if: steps.files.outputs.any_changed == 'true'
|
if: steps.files.outputs.any_changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user