aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ui_check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ui_check.yml')
-rw-r--r--.github/workflows/ui_check.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/ui_check.yml b/.github/workflows/ui_check.yml
new file mode 100644
index 0000000..e05f54b
--- /dev/null
+++ b/.github/workflows/ui_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-ui:
+ 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