Skip to content

Commit 1a0ab2c

Browse files
committed
šŸ› fix(ci): cache VS Code test binary to avoid ECONNRESET download failures
1 parent d781672 commit 1a0ab2c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

ā€Ž.github/workflows/e2e.ymlā€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ jobs:
3434
- name: Install xvfb
3535
if: github.event_name != 'pull_request' || steps.e2e-marker.outputs.cache-hit != 'true'
3636
run: sudo apt-get install -y xvfb
37+
38+
- name: Cache VS Code test binary
39+
if: github.event_name != 'pull_request' || steps.e2e-marker.outputs.cache-hit != 'true'
40+
uses: actions/cache@v4
41+
with:
42+
path: |
43+
apps/vscode-e2e/.vscode-test/
44+
key: vscode-test-${{ runner.os }}-v1
45+
restore-keys: |
46+
vscode-test-${{ runner.os }}-
47+
3748
- name: Run mocked E2E tests
3849
id: run-e2e
3950
# merge_group and workflow_dispatch always run; cache skip is pull_request only

0 commit comments

Comments
Ā (0)