Skip to content

Commit c9882ea

Browse files
committed
Added playwright cache
1 parent 6c549d8 commit c9882ea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/e2e-playwright.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,24 @@ jobs:
3535
working-directory: ./e2e-playwright
3636
run: npm install
3737

38+
- name: Cache Playwright browser binaries
39+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
40+
id: playwright-cache
41+
with:
42+
path: ~/.cache/ms-playwright
43+
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
44+
45+
3846
- name: Install Playwright browsers
3947
working-directory: ./e2e-playwright
4048
run: npx playwright install
4149

4250
- name: Build with Gradle
4351
id: build_app
4452
run: |
45-
./gradlew clean build \
53+
./gradlew build \
54+
-x :e2e-tests:check \
55+
-x :e2e-tests:build \
4656
-x test \
4757
-Pbuild-docker-images=true \
4858
-Pinclude-frontend=true \

0 commit comments

Comments
 (0)