Skip to content

Commit

Permalink
Run lint & build on all PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek committed Oct 17, 2024
1 parent a70e8e5 commit c82a63e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Linting
# Run on PRs only
on:
pull_request:
types: [opened, reopened]
branches: [main]

jobs:
lint:
Expand All @@ -18,4 +18,7 @@ jobs:
node-version: '20'

- name: Lint
run: npm ci && npx eslint .
run: npm ci && npx eslint .

- name: Build
run: npm run build

0 comments on commit c82a63e

Please sign in to comment.