Skip to content

Commit

Permalink
Add workflow for linting (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
daogrady authored Jan 15, 2024
1 parent f3d2249 commit 67d4c3f
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 67d4c3f

Please sign in to comment.