mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-30 14:30:08 +08:00
fix: prep before lint
This commit is contained in:
parent
dad8789f7e
commit
85ce3858b9
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
run: (cd frontend && pnpm install --frozen-lockfile)
|
||||
|
||||
- name: Lint frontend
|
||||
run: (cd frontend && pnpm lint:eslint)
|
||||
run: (cd frontend && pnpm prep && pnpm lint:eslint)
|
||||
|
||||
# - name: Sync forth and back with crowdin
|
||||
# uses: crowdin/github-action@1.4.0
|
||||
|
2
.github/workflows/frontend_build.yml
vendored
2
.github/workflows/frontend_build.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
- name: Lint frontend
|
||||
env:
|
||||
CI: true
|
||||
run: (cd frontend && pnpm lint:eslint)
|
||||
run: (cd frontend && pnpm prep && pnpm lint:eslint)
|
||||
|
||||
- name: Build frontend
|
||||
env:
|
||||
|
@ -9,6 +9,7 @@
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"previewBuild": "nuxt build && nuxt preview",
|
||||
"prep": "nuxt prepapre",
|
||||
"lint:eslint": "eslint --ext \".js,.vue,.ts,.html\" --ignore-path .gitignore --fix .",
|
||||
"lint:prettier": "prettier -w .",
|
||||
"prepare": "cd .. && husky install frontend/.husky"
|
||||
|
Loading…
Reference in New Issue
Block a user