H-409: restore frontend ESLint and Prettier baseline (#72)
* H-409: restore frontend lint baseline * ci(H-409): check representative frontend lint --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -41,4 +41,8 @@ jobs:
|
||||
node-version: 20
|
||||
- run: corepack enable
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- name: ESLint representative JS/Vue files
|
||||
run: pnpm --dir frontend exec eslint app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.spec.js app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.vue
|
||||
- name: Prettier representative JS/Vue files
|
||||
run: pnpm --dir frontend exec prettier --check app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.spec.js app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.vue
|
||||
- run: pnpm --dir frontend build
|
||||
|
||||
Reference in New Issue
Block a user