Merge pull request 'Cache playwright browsers for workflow' (#16) from feature/workflow-optimize into main
All checks were successful
/ build (push) Successful in 3m51s
/ check-changes (push) Successful in 16s

Reviewed-on: #16
This commit is contained in:
Djuri 2024-12-26 15:08:35 +00:00
commit 00b40c4d75

View file

@ -47,7 +47,8 @@ jobs:
path: |
~/.cache/pip
~/node_modules
key: ${{ runner.os }}-pio
~/.cache/ms-playwright
key: ${{ runner.os }}-pio-playwright-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-python@v5
with:
python-version: '>=3.10'
@ -67,6 +68,7 @@ jobs:
- name: Run vitest tests
run: yarn vitest run
- name: Install Playwright Browsers
if: steps.cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test