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: pull_request:
types: [opened, synchronize, reopened, edited] types: [opened, synchronize, reopened, edited]
jobs: jobs:
lint: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@v2
uses: actions/checkout@v2 - uses: actions/setup-node@v2
- name: Install Dependencies if: ${{ !env.ACT }}
run: npm install with:
- name: Check Playlists node-version: '14'
run: npm run lint cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run validate