@@ -4,13 +4,20 @@ on: [push]
44
55env :
66 SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
7+ DOCKER_IMAGE : nexxel/ens-app-v3-test:latest
78
89jobs :
910 coverage :
1011 runs-on : blacksmith-4vcpu-ubuntu-2204
12+ container :
13+ image : ${{ env.DOCKER_IMAGE }}
1114 steps :
1215 - uses : actions/checkout@v4
13- - uses : ./.github/actions/setup
16+
17+ # No need for setup-playwright, it's already in the Docker image
18+ # We still need to install project dependencies
19+ - name : Install dependencies
20+ run : pnpm install --frozen-lockfile
1421
1522 - name : Get contract addresses
1623 run : ' parallel --lb --halt now,success=1,fail=1 ::: \
2128
2229 build-stateless :
2330 runs-on : blacksmith-4vcpu-ubuntu-2204
31+ container :
32+ image : ${{ env.DOCKER_IMAGE }}
2433 steps :
2534 - uses : actions/checkout@v4
26- - uses : ./.github/actions/setup
35+
36+ # No need for setup-playwright, it's already in the Docker image
37+ # We still need to install project dependencies
38+ - name : Install dependencies
39+ run : pnpm install --frozen-lockfile
2740
2841 - name : Get contract addresses
2942 run : ' parallel --lb --halt now,success=1,fail=1 ::: \
4457
4558 build-stateful :
4659 runs-on : blacksmith-4vcpu-ubuntu-2204
60+ container :
61+ image : ${{ env.DOCKER_IMAGE }}
4762 steps :
4863 - uses : actions/checkout@v4
49- - uses : ./.github/actions/setup
64+
65+ # No need for setup-playwright, it's already in the Docker image
66+ # We still need to install project dependencies
67+ - name : Install dependencies
68+ run : pnpm install --frozen-lockfile
5069
5170 - name : Build stateful and export
5271 run : pnpm build && pnpm export
@@ -65,13 +84,49 @@ jobs:
6584 needs : build-stateless
6685 timeout-minutes : 20
6786 runs-on : blacksmith-4vcpu-ubuntu-2204
87+ container :
88+ image : ${{ env.DOCKER_IMAGE }}
6889 strategy :
6990 matrix :
70- shard : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
91+ shard :
92+ [
93+ 1,
94+ 2,
95+ 3,
96+ 4,
97+ 5,
98+ 6,
99+ 7,
100+ 8,
101+ 9,
102+ 10,
103+ 11,
104+ 12,
105+ 13,
106+ 14,
107+ 15,
108+ 16,
109+ 17,
110+ 18,
111+ 19,
112+ 20,
113+ 21,
114+ 22,
115+ 23,
116+ 24,
117+ 25,
118+ 26,
119+ 27,
120+ 28,
121+ 29,
122+ ]
71123 steps :
72124 - uses : actions/checkout@v4
73- - uses : ./.github/actions/setup
74- - uses : ./.github/actions/setup-playwright
125+
126+ # No need for setup-playwright, it's already in the Docker image
127+ # We still need to install project dependencies
128+ - name : Install dependencies
129+ run : pnpm install --frozen-lockfile
75130
76131 - run : pnpm rebuild -r
77132
@@ -102,13 +157,18 @@ jobs:
102157 needs : build-stateful
103158 timeout-minutes : 10
104159 runs-on : blacksmith-4vcpu-ubuntu-2204
160+ container :
161+ image : ${{ env.DOCKER_IMAGE }}
105162 strategy :
106163 matrix :
107164 shard : [1, 2, 3]
108165 steps :
109166 - uses : actions/checkout@v4
110- - uses : ./.github/actions/setup
111- - uses : ./.github/actions/setup-playwright
167+
168+ # No need for setup-playwright, it's already in the Docker image
169+ # We still need to install project dependencies
170+ - name : Install dependencies
171+ run : pnpm install --frozen-lockfile
112172
113173 - run : pnpm rebuild -r
114174
@@ -134,4 +194,4 @@ jobs:
134194 with :
135195 name : stateful-report-${{matrix.shard}}
136196 path : playwright-report/
137- retention-days : 30
197+ retention-days : 30
0 commit comments