diff options
| author | 2026-01-15 11:58:06 +0800 | |
|---|---|---|
| committer | 2026-01-15 11:58:06 +0800 | |
| commit | b2e40b16bf7b4e57a83c6d69fe5745920591b6b9 (patch) | |
| tree | 4d68f0720b4cc6c0571dcf09bbde3ac1df95170e | |
| parent | e2d4e73457294c8539d97a2de1835179114276b7 (diff) | |
| download | DropOut-b2e40b16bf7b4e57a83c6d69fe5745920591b6b9.tar.gz DropOut-b2e40b16bf7b4e57a83c6d69fe5745920591b6b9.zip | |
fix: Update branches and install steps in UI check workflow
| -rw-r--r-- | .github/workflows/ui_check.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.github/workflows/ui_check.yml b/.github/workflows/ui_check.yml index d851518..f34345b 100644 --- a/.github/workflows/ui_check.yml +++ b/.github/workflows/ui_check.yml @@ -6,7 +6,7 @@ on: - "ui/**" - ".github/workflows/ui_check.yml" pull_request: - branches: ["main"] + branches: ["main", "master", "dev"] workflow_dispatch: jobs: @@ -14,9 +14,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 with: - run_install: true - cache: true + 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 check working-directory: ui |