Skip to content

Commit 35ceae6

Browse files
mydeaclaude
andcommitted
fix(ci): Use Ubuntu base with Volta for Playwright Docker image
Use ubuntu:24.04 as the base image instead of the official Playwright Docker image to avoid missing system packages and config differences. Install Node/Yarn via Volta to match the repo's version management. Since the container now uses the same OS as GHA runners, remove the enableCrossOsArchive workaround from all cache steps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 627a1f2 commit 35ceae6

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ runs:
2020
with:
2121
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
2222
key: ${{ steps.compute_lockfile_hash.outputs.hash }}
23-
# Required: cache is saved on host but restored inside Docker containers
24-
enableCrossOsArchive: true
2523

2624
- name: Install dependencies
2725
if: steps.cache_dependencies.outputs.cache-hit != 'true'

.github/actions/restore-cache/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ runs:
1515
with:
1616
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
1717
key: ${{ inputs.dependency_cache_key }}
18-
# Required: cache is saved on host but restored inside Docker containers
19-
enableCrossOsArchive: true
2018

2119
- name: Restore build artifacts
2220
uses: actions/download-artifact@v4

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,6 @@ jobs:
879879
with:
880880
path: ${{ github.workspace }}/packages/*/*.tgz
881881
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
882-
# Required: cache is saved on host but restored inside Docker containers
883-
enableCrossOsArchive: true
884882

885883
- name: Determine which E2E test applications should be run
886884
id: matrix
@@ -963,8 +961,6 @@ jobs:
963961
with:
964962
path: ${{ github.workspace }}/packages/*/*.tgz
965963
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
966-
# Required: cache is saved on host but restored inside Docker containers
967-
enableCrossOsArchive: true
968964

969965
- name: Build tarballs if not cached
970966
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
@@ -1085,8 +1081,6 @@ jobs:
10851081
with:
10861082
path: ${{ github.workspace }}/packages/*/*.tgz
10871083
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
1088-
# Required: cache is saved on host but restored inside Docker containers
1089-
enableCrossOsArchive: true
10901084

10911085
- name: Build tarballs if not cached
10921086
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'

.github/workflows/canary.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ jobs:
5959
with:
6060
path: ${{ env.CACHED_BUILD_PATHS }}
6161
key: canary-${{ env.HEAD_COMMIT }}
62-
# Required: cache is saved on host but restored inside Docker containers
63-
enableCrossOsArchive: true
6462
- name: Install dependencies
6563
run: yarn install
6664
- name: Build packages
@@ -165,8 +163,6 @@ jobs:
165163
with:
166164
path: ${{ env.CACHED_BUILD_PATHS }}
167165
key: canary-${{ env.HEAD_COMMIT }}
168-
# Required: cache is saved on host but restored inside Docker containers
169-
enableCrossOsArchive: true
170166

171167
- name: Get node version
172168
id: versions

0 commit comments

Comments
 (0)