Skip to content

Commit

Permalink
ci: setup linting on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
nhitz authored Apr 15, 2024
1 parent a02e7fd commit 89d2271
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
lint:
name: Lint Job
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install Node.js dependencies
run: npm ci

- name: Run prettier-eslint
run: |
npm run lint

0 comments on commit 89d2271

Please sign in to comment.