Skip to content

[NEXT] - add lint check #3

[NEXT] - add lint check

[NEXT] - add lint check #3

Workflow file for this run

name: 'Lint Check'
on:
pull_request:
branches: [ next ]
jobs:
lint-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.10'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install Dependencies
run: npm ci
- name: Run Linter
run: npm run lint