diff --git a/.github/workflows/playwright-tests.yml b/.github/workflows/playwright-tests.yml index 8a66149..63ddcf7 100644 --- a/.github/workflows/playwright-tests.yml +++ b/.github/workflows/playwright-tests.yml @@ -1,7 +1,10 @@ name: run playwright tests on: - workflow_dispatch: + push: + branches: [ dev-playwright ] + pull_request: + branches: [ dev-playwright ] jobs: build: @@ -18,14 +21,15 @@ jobs: '**/node_modules' ~/.m2/repository key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package.json') }} - - id: setup + - id: setup-java name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'adopt' - - name: Setup Maven - uses: s4u/setup-maven@v2 + - id: setup-maven + name: Setup Maven + uses: s4u/maven-settings-action@v3.1.0 with: maven-version: '3.9.0' - id: create_settings_xml