Skip to content

Lint Engine Code

Lint Engine Code #24

Workflow file for this run

name: Lint Engine Code
on:
pull_request:
branches: [ main ]
push:
branches: [ main, live ]
paths:
- 'src/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
- name: Install Dependencies
run: npm ci
- name: Run Linter
run: npm run lint