Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add playwright cache
Browse files Browse the repository at this point in the history
pubuzhixing8 committed Jan 11, 2025
1 parent 8ae105e commit a6a9bc3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -28,6 +28,15 @@ jobs:
node-version: 20
cache: 'npm'

# 缓存 Playwright 的浏览器
- name: Cache Playwright browsers
uses: actions/cache@v3
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
playwright-${{ runner.os }}-
- run: npm ci
- uses: nrwl/nx-set-shas@v4

0 comments on commit a6a9bc3

Please sign in to comment.