Skip to content

Commit 646efdd

Browse files
committed
small changes to deployment workflow
1 parent 809c4f2 commit 646efdd

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Tests and publishing
22
env:
33
FORCE_COLOR: 1
4-
PLAYWRIGHT_BROWSERS_PATH: 0
54
on:
65
push:
76
branches:
@@ -31,9 +30,7 @@ jobs:
3130
uses: actions/cache@v3
3231
id: playwright-cache
3332
with:
34-
path: |
35-
~/.cache/ms-playwright
36-
node_modules/.cache/ms-playwright
33+
path: ~/.cache/ms-playwright
3734
key: ${{ runner.os }}-playwright-1.40.1
3835
restore-keys: |
3936
${{ runner.os }}-playwright-
@@ -43,6 +40,8 @@ jobs:
4340
run: npm ci
4441
- name: Install Playwright browsers
4542
run: npx playwright install --with-deps
43+
- name: Verify Playwright browsers installation
44+
run: ls -la ~/.cache/ms-playwright/ || echo "No playwright cache found"
4645
- name: Run tests
4746
run: npm test
4847
test_win:
@@ -63,9 +62,7 @@ jobs:
6362
uses: actions/cache@v3
6463
id: playwright-cache
6564
with:
66-
path: |
67-
~/.cache/ms-playwright
68-
node_modules/.cache/ms-playwright
65+
path: ~/.cache/ms-playwright
6966
key: ${{ runner.os }}-playwright-1.40.1
7067
restore-keys: |
7168
${{ runner.os }}-playwright-

0 commit comments

Comments
 (0)