This repository was archived by the owner on May 5, 2025. It is now read-only.
fix: update baseUrl in tsconfig.json to point to the project root #18
Workflow file for this run
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: Build apk | |
on: | |
push: | |
branches: | |
- feature/deploy | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: 🏗 Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
- name: 📝 Create .env file | |
run: | | |
echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" >> .env | |
echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env | |
echo "EXPO_ROUTER_APP_ROOT=${{ secrets.EXPO_ROUTER_APP_ROOT }}" >> .env | |
- name: 📦 Install dependencies | |
run: bun install | |
- name: 🏗 Setup EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
packager: bun | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: 🚀 Build app | |
run: eas build --platform android --profile production --local --output ${{ github.workspace }}/app-release.apk | |
- name: GH Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: gift-idea-tracker | |
tag_name: 1.0.0 | |
files: | | |
${{ github.workspace }}/app-release.apk |