mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
chore: add lint for front
This commit is contained in:
parent
3d80307401
commit
3afa8c041c
1 changed files with 18 additions and 0 deletions
18
.github/workflows/frontend-lint.yaml
vendored
Normal file
18
.github/workflows/frontend-lint.yaml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Frontend Lint
|
||||
on: [ push, pull_request ]
|
||||
jobs:
|
||||
next-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: front
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18.x
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Lint code
|
||||
run: npm run lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue