Skip to content

Commit

Permalink
Add linting CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
xenosf committed Nov 5, 2024
1 parent d821b77 commit d842271
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Static Analysis

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
strategy:
fail-fast: false #ensure both tests run even if one fails
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Run Lint Checks
run: npx eslint .

0 comments on commit d842271

Please sign in to comment.