mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
34 lines
621 B
YAML
34 lines
621 B
YAML
|
name: gradio-ui
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "master"
|
||
|
paths:
|
||
|
- "ui/**"
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- "ui/**"
|
||
|
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: "./ui"
|
||
|
|
||
|
jobs:
|
||
|
check:
|
||
|
name: static checks
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- run: npm i -g pnpm@6
|
||
|
- uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: 16
|
||
|
|
||
|
- name: "install dependencies"
|
||
|
run: pnpm i --frozen-lockfile
|
||
|
- name: "formatting check"
|
||
|
run: pnpm format:check
|
||
|
- name: "typecheck"
|
||
|
run: pnpm ts:check
|
||
|
continue-on-error: true
|