diff --git a/.github/workflows/expo.yml b/.github/workflows/expo.yml index ff7eaff..d540408 100644 --- a/.github/workflows/expo.yml +++ b/.github/workflows/expo.yml @@ -7,7 +7,7 @@ on: - next jobs: - setup: + publish: runs-on: ubuntu-latest strategy: @@ -26,29 +26,18 @@ jobs: with: node-version: ${{ matrix.node-version }} - build: - runs-on: ubuntu-latest - needs: setup - - steps: - name: Install, build and test - run: | - npm install + run: npm ci && npm test - publish: - runs-on: ubuntu-latest - needs: build - - steps: - name: Login into Expo run: npx expo-cli login -u ${{ secrets.EXPO_USERNAME }} -p ${{ secrets.EXPO_PASSWORD }} - - name: Publish to Expo channel "default" + - name: Publish & build with Expo channel "default" if: endsWith(github.ref, '/master') run: | - npx expo publish --non-interactive --release-channel default + npx expo build:android -t app-bundle --non-interactive --release-channel default - - name: Publish to Expo channel "next" + - name: Publish & build with Expo channel "next" if: endsWith(github.ref, '/next') run: | - npx expo publish --non-interactive --release-channel next + npx expo build:android -t app-bundle --non-interactive --release-channel next diff --git a/app.json b/app.json index 0755712..1f41e01 100644 --- a/app.json +++ b/app.json @@ -13,7 +13,7 @@ "android", "web" ], - "description": "Consento Mobile", + "description": "The first (currently alpha) Consento mobile application.", "icon": "./assets/icon/logo@16x.png", "githubUrl": "https://github.com/consento-org/mobile", "androidStatusBar": {