mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
35 lines
660 B
YAML
35 lines
660 B
YAML
name: 'Check: frontend'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: invokeai/frontend/web
|
|
|
|
jobs:
|
|
check-frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up frontend
|
|
uses: ./.github/actions/install-frontend-deps
|
|
|
|
- name: Run tsc check
|
|
run: 'pnpm run lint:tsc'
|
|
shell: bash
|
|
|
|
- name: Run madge check
|
|
run: 'pnpm run lint:madge'
|
|
shell: bash
|
|
|
|
- name: Run eslint check
|
|
run: 'pnpm run lint:eslint'
|
|
shell: bash
|
|
|
|
- name: Run prettier check
|
|
run: 'pnpm run lint:prettier'
|
|
shell: bash
|