Skip to content

Commit

Permalink
Add lint checks action
Browse files Browse the repository at this point in the history
  • Loading branch information
Scc33 committed Jul 11, 2024
1 parent b0d51b4 commit cd8a5e2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: NextJS Lint Check

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run lint
run: npm run lint

0 comments on commit cd8a5e2

Please sign in to comment.