Skip to content

Commit

Permalink
ci: setup linting on pr (#13)
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
nhitz authored Apr 15, 2024
1 parent abb8dbe commit 220a455
Show file tree
Hide file tree
Showing 3 changed files with 618 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: |
cd frontend &&
npm ci
- name: Run prettier-eslint
run: |
cd frontend &&
npm run lint
Loading

0 comments on commit 220a455

Please sign in to comment.