diff options
| author | 2026-01-15 12:50:31 +0800 | |
|---|---|---|
| committer | 2026-01-15 12:50:31 +0800 | |
| commit | d4d37b4d418ab2a517ce6ce2b8272cf084fdc724 (patch) | |
| tree | 0b1db6e317a36bbef1069d426cf87944a19b279c /.github/workflows/check.yml | |
| parent | 6d851986b58480c13599a60b61f58aa42a2e373e (diff) | |
| download | DropOut-d4d37b4d418ab2a517ce6ce2b8272cf084fdc724.tar.gz DropOut-d4d37b4d418ab2a517ce6ce2b8272cf084fdc724.zip | |
fix: Migrate UI checker workflow from ui_check.yml to check.yml
Diffstat (limited to '.github/workflows/check.yml')
| -rw-r--r-- | .github/workflows/check.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..0cbcf35 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,34 @@ +name: UI Checker + +on: + push: + paths: + - "ui/**" + - ".github/workflows/ui_check.yml" + pull_request: + branches: ["main", "master", "dev"] + workflow_dispatch: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: "pnpm" + cache-dependency-path: "ui/pnpm-lock.yaml" + + - run: pnpm install + working-directory: ui + + - run: pnpm check + working-directory: ui |