Skip to content

Commit

Permalink
feat(formatting): add lint workflow to Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Feb 8, 2024
1 parent 210c2cd commit 4885882
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: lint

on: push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19

- name: Install npm dependencies
run: npm ci

- name: Type check
run: npm run typecheck

- name: ESLint
run: npm run lint:eslint

- name: Prettier
run: npm run lint:prettier

0 comments on commit 4885882

Please sign in to comment.