Skip to content

Commit

Permalink
Add playwright browser cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lookupdaily committed Feb 7, 2025
1 parent 4e3d120 commit 2160bed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: ./package-lock.json
- uses: actions/cache@v4
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'

- name: Start services
working-directory: ./docker
Expand Down

0 comments on commit 2160bed

Please sign in to comment.