Skip to content

Commit fd797a4

Browse files
committed
Prevent npm ci from installing browsers, as that is done by the playwright-cache action
1 parent 7eda5ed commit fd797a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci-testing.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
with:
1515
node-version: 22
1616
cache: npm
17-
- run: sudo apt-get install xvfb
1817
- run: npm ci
18+
env:
19+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
1920
- name: Cache Playwright browsers
2021
id: playwright-cache
2122
uses: actions/cache@v4
@@ -26,8 +27,7 @@ jobs:
2627
if: steps.playwright-cache.outputs.cache-hit != 'true'
2728
- run: npx playwright install-deps
2829
if: steps.playwright-cache.outputs.cache-hit == 'true'
29-
- run: npm install -g grunt-cli
30-
- run: grunt default
30+
- run: npx grunt default
3131
- run: xvfb-run --auto-servernum -- npx playwright test --grep-invert="popupTabNavigation\.test\.js|layerContextMenuKeyboard\.test\.js" --workers=1 --retries=3
3232
env:
3333
CI: true

0 commit comments

Comments
 (0)