Skip to content

Commit

Permalink
Add workflow for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
daogrady committed Jan 12, 2024
1 parent 5ca9955 commit 04e870c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Linting

on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Run Linter
run: |
npm install
npm run lint

0 comments on commit 04e870c

Please sign in to comment.