aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-16 09:33:04 +0800
committerGitHub <noreply@github.com>2026-01-16 09:33:04 +0800
commita3a1991fbd04dbe283734a8826e60d05ab3fa92a (patch)
tree995bd237477b0c406a2a034f6ae37faee43128a0 /.github/workflows
parent3fa38e2d8a081db6f41ef65c37157442f77845d4 (diff)
downloadDropOut-a3a1991fbd04dbe283734a8826e60d05ab3fa92a.tar.gz
DropOut-a3a1991fbd04dbe283734a8826e60d05ab3fa92a.zip
fix(ci): Enhance GitHub Actions workflow with lint and format
Add linting and formatting checks to workflow.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 702cc0a..58fc378 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -6,7 +6,9 @@ on:
- "ui/**"
- ".github/workflows/check.yml"
pull_request:
- branches: ["main", "master", "dev"]
+ paths:
+ - "ui/**"
+ - ".github/workflows/check.yml"
workflow_dispatch:
jobs:
@@ -32,3 +34,10 @@ jobs:
- run: pnpm check
working-directory: ui
+
+ - run: pnpm lint
+ working-directory: ui
+
+ - run: pnpm format --check
+ working-directory: ui
+