diff --git a/.github/workflows/_check.yml b/.github/workflows/_check.yml index f380ef95..19f9dbad 100644 --- a/.github/workflows/_check.yml +++ b/.github/workflows/_check.yml @@ -17,15 +17,15 @@ jobs: run: | mkdir -p scripts/data 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 if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }} with: node-version: '14' cache: 'npm' - - uses: tj-actions/changed-files@v12.2 - id: files - with: - files: 'sites' - name: validate if: steps.files.outputs.any_changed == 'true' run: |