From 4ab4c5aa09c50b96707f7ccde32d6942f7f37b53 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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'