File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ name: Playwright Tests
44on :
55 push :
66 branches :
7- - ' **'
7+ - ' **' # Run on every branch for every commit
88 pull_request :
99 branches :
10- - ' **'
10+ - ' **' # Run on every pull request for any branch
1111
1212jobs :
1313 test :
1818 - name : Checkout repository
1919 uses : actions/checkout@v3
2020
21- # Step 2: Set up JDK 17
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : ' 20'
25+
26+ # Step 2: Set up JDK 17 (adjust if you're using a different version)
2227 - name : Set up JDK 17
2328 uses : actions/setup-java@v3
2429 with :
4752 restore-keys : |
4853 ${{ runner.os }}-maven
4954
55+ - name : Install Playwright dependencies
56+ run : npx playwright install-deps
57+
5058 # Step 6: Run Maven to execute Playwright tests
5159 - name : Run Playwright Tests
5260 run : mvn verify
You can’t perform that action at this time.
0 commit comments