Skip to content

[Snyk] Security upgrade bootstrap from 4.6.2 to 5.0.0 #605

[Snyk] Security upgrade bootstrap from 4.6.2 to 5.0.0

[Snyk] Security upgrade bootstrap from 4.6.2 to 5.0.0 #605

Workflow file for this run

name: ESLint
on: [pull_request]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Yarn
run: npm install -g yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-modules-
- name: Install project dependencies (via cache)
run: yarn --prefer-offline
- name: Run ESLint
run: npx eslint src --ext .js,.jsx,.ts,.tsx --exit-on-fatal-error