From 0b67e23d99d53fd44251e9dd1cc03243957daedc Mon Sep 17 00:00:00 2001 From: Andre Frank Date: Tue, 7 Jan 2025 13:12:19 +0100 Subject: [PATCH] MAPAPPS-7318 setup github action --- .github/workflows/playwright-tests.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/playwright-tests.yml b/.github/workflows/playwright-tests.yml index 8a66149..341b8d9 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,16 +21,17 @@ 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: stCarolas/setup-maven@v5 with: - maven-version: '3.9.0' + maven-version: 3.9.0 - id: create_settings_xml name: Create settings.xml uses: whelk-io/maven-settings-xml-action@v22