Skip to content

chore: add repo linting workflow #3

chore: add repo linting workflow

chore: add repo linting workflow #3

Workflow file for this run

name: ⬣ Lint
on:
push:
branches:
- main
- dev
pull_request:
jobs:
lint:
name: ⬣ Lint
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: ./package.json
node-version: 16
- name: 📥 Install deps
run: npm install
- name: 🔬 Lint
run: npx eslint --config ./.eslintrc.ci.js