mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
a0313ba634
- Restructure & update code check workflows - Add release workflow to handle checks/tests, build and publish to PyPI - Add docs/RELEASE.md explaining the workflow & process - `create_installer.sh`: Update to work with the release workflow - `create_installer.sh` & `tag_release.sh`: Fix the ANSI escape codes for macOS - `tag_release.sh`: Add check for python binary name - `tag_release.sh`: Print `git remote -v` output - `tag_release.sh`: Fix error when deleting nonexistant tags
39 lines
742 B
YAML
39 lines
742 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 dpdm check
|
|
run: 'pnpm run lint:dpdm'
|
|
shell: bash
|
|
|
|
- name: Run eslint check
|
|
run: 'pnpm run lint:eslint'
|
|
shell: bash
|
|
|
|
- name: Run prettier check
|
|
run: 'pnpm run lint:prettier'
|
|
shell: bash
|
|
|
|
- name: Run knip check
|
|
run: 'pnpm run lint:knip'
|
|
shell: bash
|