iptv/.github/workflows/check.yml

19 lines
402 B
YAML
Raw Normal View History

2021-04-27 19:46:30 +02:00
name: check
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
2021-12-12 05:08:29 +01:00
check:
2021-04-27 19:46:30 +02:00
runs-on: ubuntu-latest
steps:
2021-12-12 05:08:29 +01:00
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
if: ${{ !env.ACT }}
with:
node-version: '14'
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run validate