29
29
with :
30
30
experimental : true
31
31
32
+ - name : Install package.json dependencies
33
+ run : mise run buni
34
+
35
+ - name : Build Package
36
+ run : mise run build
37
+
38
+ - name : Install E2E Test Fixtures Dependencies
39
+ run : bun install --frozen-lockfile
40
+ working-directory : tests/e2e/fixtures
41
+
42
+ - name : Build E2E Test Fixtures with astro-better-image-service
43
+ run : bun run build
44
+ working-directory : tests/e2e/fixtures
45
+
32
46
- name : Store Dependency Versions
33
47
id : dependency-versions
34
48
run : |
42
56
path : ~/.cache/ms-playwright
43
57
key : playwright-browsers-${{ runner.os }}-${{ steps.dependency-versions.outputs.playwright }}
44
58
45
- - name : Install package.json dependencies
46
- run : mise run buni
47
-
48
59
- name : Install Playwright Browsers and Dependencies
49
60
id : playwright-install
50
61
if : steps.restore-browsers-cache.outputs.cache-hit != 'true'
@@ -89,6 +100,12 @@ jobs:
89
100
with :
90
101
experimental : true
91
102
103
+ - name : Install package.json dependencies
104
+ run : mise run buni
105
+
106
+ - name : Build Package
107
+ run : mise run build
108
+
92
109
- name : Store Dependency Versions
93
110
id : dependency-versions
94
111
run : |
@@ -104,9 +121,6 @@ jobs:
104
121
path : ~/.cache/ms-playwright
105
122
key : playwright-browsers-${{ runner.os }}-${{ steps.dependency-versions.outputs.playwright }}
106
123
107
- - name : Install package.json dependencies
108
- run : mise run buni
109
-
110
124
- name : Install Playwright Browsers and Dependencies
111
125
id : playwright-install
112
126
if : steps.restore-browsers-cache.outputs.cache-hit != 'true'
@@ -127,16 +141,21 @@ jobs:
127
141
id : fixtures-hash
128
142
run : echo "hash=${{ hashFiles('tests/e2e/fixtures/**/*', 'tests/e2e/conversion.test.ts') }}" >> "$GITHUB_OUTPUT"
129
143
144
+ - name : Install E2E Test Fixtures Dependencies
145
+ run : bun install --frozen-lockfile
146
+ working-directory : tests/e2e/fixtures
147
+
130
148
- name : Restore Snapshots Cache
131
149
id : restore-snapshots-cache
132
150
uses : actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
133
151
with :
134
152
path : tests/e2e/conversion.test.ts-snapshots
135
- key : " default-service-snapshots-${{ runner.os }}-${{ steps.dependency-versions.outputs.astro }}-${{ steps.dependency-versions.outputs.playwright }}-${{ steps.fixtures-hash.outputs.hash }} "
153
+ key : " default-service-snapshots-${{ runner.os }}-${{ steps.dependency-versions.outputs.astro }}-${{ steps.dependency-versions.outputs.playwright }}-${{ steps.fixtures-hash.outputs.hash }}"
136
154
137
155
- name : Build E2E Test Fixtures with the Default Image Service
138
156
if : steps.restore-snapshots-cache.outputs.cache-hit != 'true'
139
- run : mise run test:e2e:fixtures:build
157
+ run : bun run build
158
+ working-directory : tests/e2e/fixtures
140
159
env :
141
160
USE_DEFAULT_IMAGE_SERVICE : true
142
161
@@ -154,7 +173,8 @@ jobs:
154
173
key : ${{ steps.restore-snapshots-cache.outputs.cache-primary-key }}
155
174
156
175
- name : Build E2E Test Fixtures with astro-better-image-service
157
- run : mise run test:e2e:fixtures:build
176
+ run : bun run build
177
+ working-directory : tests/e2e/fixtures
158
178
159
179
- name : Playwright Image Services Consistency Test
160
180
id : playwright-test-conversion
0 commit comments