Skip to content

Commit 2bfacac

Browse files
authored
Fix playwright (#1638)
1 parent 44cac43 commit 2bfacac

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build.actions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
with:
3030
path: ~/.m2/repository
3131
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32+
- name: Ensure browsers are installed
33+
run: mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --with-deps"
3234
- name: Build
3335
run: |
3436
mvn -e -B -DskipTests=true clean package -Dlib -Dacceptance-test -Dcommunity-app

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,12 @@
8888
</dependency>
8989
</dependencies>
9090
</dependencyManagement>
91-
91+
<dependencies>
92+
<dependency>
93+
<groupId>io.quarkiverse.playwright</groupId>
94+
<artifactId>quarkus-playwright</artifactId>
95+
</dependency>
96+
</dependencies>
9297
<build>
9398
<pluginManagement>
9499
<plugins>

0 commit comments

Comments
 (0)