Skip to content

PRValidate.yml

PRValidate.yml #1

Workflow file for this run

name: Lint Code Base
on: [push, pull_request]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # Specify your Node.js version
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run lint
# Make sure your package.json has a "lint" script that runs ESLint