Skip to content

Commit

Permalink
Add github action for linter (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
danbastin authored Nov 1, 2024
1 parent f93356c commit f8281ce
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Pull Request Checks
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
jobs:
lint:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'npm'
- run: npm install

- run: npm run lint

0 comments on commit f8281ce

Please sign in to comment.