From 4664c80352922fd6cea7a77763dcbc15ed775fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Burak=20Akg=C3=BCn?= Date: Fri, 15 Nov 2024 20:26:50 +0100 Subject: [PATCH] Add build steps for web and desktop apps in auto-merge workflow --- .github/workflows/dependabot-auto-merge.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index f0c7e04..5c9d494 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -14,11 +14,27 @@ jobs: contents: write pull-requests: write steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '11' + + - name: Build Web Application + run: ./gradlew :composeApp:wasmJsBrowserDevelopmentRun + + - name: Build Desktop Application + run: ./gradlew :composeApp:run + - name: Automatically Merge Dependabot PRs + if: success() uses: pascalgn/automerge-action@v0.15.6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_LABELS: "dependencies" MERGE_METHOD: "squash" MERGE_COMMIT_MESSAGE: "pull-request-title" - MERGE_FILTER_AUTHOR: "dependabot[bot]" + MERGE_FILTER_AUTHOR: "dependabot[bot]" \ No newline at end of file