ci: parallelize github workflows

This commit is contained in:
Tianyi Cui
2026-07-06 00:15:19 +08:00
parent d5cb3297ad
commit 80358aed9f
2 changed files with 239 additions and 72 deletions

View File

@@ -67,6 +67,17 @@ jobs:
- name: Enable corepack (pnpm)
run: corepack enable
- name: Resolve pnpm store path
id: pnpm-store
run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: ${{ steps.pnpm-store.outputs.path }}
key: ${{ runner.os }}-node-24-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-24-pnpm-
- name: Install (immutable)
run: pnpm install --frozen-lockfile