diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a557daedf1..6792edc057 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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