diff --git a/.github/workflows/playwright-tests.yml b/.github/workflows/playwright-tests.yml index 8a66149..51c895b 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,13 +21,14 @@ 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 + - id: setup-maven + name: Setup Maven uses: s4u/setup-maven@v2 with: maven-version: '3.9.0'