Update check.yml

This commit is contained in:
Aleksandr Statciuk
2021-12-12 07:08:29 +03:00
parent b4d1f1ba5f
commit 30896e0da4

View File

@@ -4,12 +4,15 @@ on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
lint:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Check Playlists
run: npm run lint
- 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