We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aebd22 commit 81a0c06Copy full SHA for 81a0c06
.github/workflows/ci.yml
@@ -171,7 +171,17 @@ jobs:
171
- name: 构建项目
172
run: pnpm build
173
174
+ - name: 缓存 Playwright 浏览器
175
+ uses: actions/cache@v4
176
+ id: playwright-cache
177
+ with:
178
+ path: ~/.cache/ms-playwright
179
+ key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
180
+ restore-keys: |
181
+ ${{ runner.os }}-playwright-
182
+
183
- name: 安装 Playwright 浏览器
184
+ if: steps.playwright-cache.outputs.cache-hit != 'true'
185
run: pnpm exec playwright install --with-deps chromium
186
187
- name: 运行 URL 重定向测试
0 commit comments