mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
chore: use working directory front in ci
sd d sd s
This commit is contained in:
parent
b187729399
commit
05f8539361
1 changed files with 4 additions and 6 deletions
10
.github/workflows/frontend-lint.yaml
vendored
10
.github/workflows/frontend-lint.yaml
vendored
|
|
@ -1,18 +1,16 @@
|
|||
name: Frontend Lint
|
||||
on: [ push, pull_request ]
|
||||
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
|
||||
run: cd front && npm ci
|
||||
- name: Lint code
|
||||
run: npm run lint
|
||||
run: cd front && npm run lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue