diff --git a/.github/workflows/demo.yaml b/.github/workflows/demo.yaml new file mode 100644 index 0000000..ab77844 --- /dev/null +++ b/.github/workflows/demo.yaml @@ -0,0 +1,34 @@ +name: Demo CI +on: [ push, pull_request ] +jobs: + demo-android-build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: demo + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Java + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: adopt + cache: gradle + + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Run npm Install + run: npm install + + - name: Build application + run: | + cd android + ./gradlew assembleDebug