Update check.yml

This commit is contained in:
Aleksandr Statciuk 2021-12-12 07:08:29 +03:00
parent f52c07c77d
commit c02b14c785
1 changed files with 10 additions and 7 deletions

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