Add About page and update navigation #89
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| sanity-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install dependencies | |
| run: npm install | |
| build-android: | |
| runs-on: ubuntu-latest | |
| needs: sanity-check | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: "21" | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build web app | |
| run: npm run build | |
| - name: Sync Capacitor Android | |
| run: npx cap sync android | |
| - name: Build Android APK (debug) | |
| run: cd android && ./gradlew assembleDebug | |
| - name: Upload Android APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: securecomm-android-debug | |
| path: android/app/build/outputs/apk/debug/app-debug.apk | |
| if-no-files-found: error | |
| build-ios: | |
| runs-on: macos-latest | |
| needs: sanity-check | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build web app | |
| run: npm run build | |
| - name: Sync Capacitor iOS | |
| run: npx cap sync ios | |
| - name: Build iOS app (simulator) | |
| run: | | |
| xcodebuild \ | |
| -project ios/App/App.xcodeproj \ | |
| -scheme App \ | |
| -sdk iphonesimulator \ | |
| -configuration Debug \ | |
| -derivedDataPath ios/build \ | |
| CODE_SIGN_IDENTITY="" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build | |
| - name: Upload iOS app | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: securecomm-ios-simulator | |
| path: ios/build/Build/Products/Debug-iphonesimulator/App.app | |
| if-no-files-found: error | |