-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from luke-h1/feat/chat-improvs
WIP - feat(app): improve chat experience
- Loading branch information
Showing
431 changed files
with
11,065 additions
and
25,709 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.1.43 |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Build Android Debug App | ||
on: | ||
push: | ||
branches: | ||
- main # Build on main for caching purposes, this way every branch will have access to it | ||
workflow_call: | ||
outputs: | ||
build-cache-key: | ||
description: 'The primary key used for caching the build' | ||
value: android-debug-build-${{ jobs.lookup-cached-build.outputs.fingerprint }} | ||
jobs: | ||
lookup-cached-build: | ||
name: Lookup cached debug build | ||
uses: ./.github/workflows/lookup-cached-debug-build.yml | ||
with: | ||
platform: android | ||
|
||
build-debug-android: | ||
name: Build Android Debug App | ||
needs: lookup-cached-build | ||
if: needs.lookup-cached-build.outputs.build-exists != 'true' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 💾 Maximize build space | ||
uses: AdityaGarg8/[email protected] | ||
with: | ||
remove-dotnet: 'true' | ||
remove-haskell: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
|
||
- name: 🏗 Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: 🥟 Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version-file: '.bun-version' | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: ☕ Setup JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
|
||
- name: 🐘 Setup Gradle 8.8 | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
gradle-version: 8.8 | ||
|
||
- name: 📦 Install dependencies | ||
run: bun install --frozen-lockfile | ||
|
||
- name: 🛠️ Build | ||
run: bun run build:debug:android | ||
|
||
|
||
- name: 📁 Prepare cache folder | ||
run: | | ||
mkdir android-debug-build | ||
mv ./android/app/build/outputs/apk/debug/app-debug.apk android-debug-build/android-debug.apk | ||
- name: 📡 Store built app in cache | ||
id: android-debug-save | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: android-debug-build/ | ||
key: android-debug-build-${{ needs.lookup-cached-build.outputs.fingerprint }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Build iOS Debug App | ||
on: | ||
push: | ||
branches: | ||
- main # Build on main for caching purposes, this way every branch will have access to it | ||
workflow_call: | ||
outputs: | ||
build-cache-key: | ||
description: 'The primary key used for caching the build' | ||
value: ios-debug-build-${{ jobs.lookup-cached-build.outputs.fingerprint }} | ||
jobs: | ||
lookup-cached-build: | ||
name: Lookup cached debug build | ||
uses: ./.github/workflows/lookup-cached-debug-build.yml | ||
with: | ||
platform: ios | ||
|
||
build-debug-ios: | ||
name: Build iOS Debug App | ||
needs: lookup-cached-build | ||
if: needs.lookup-cached-build.outputs.build-exists != 'true' | ||
runs-on: macos-latest | ||
steps: | ||
- name: 🏗 Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: 🥟 Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version-file: '.bun-version' | ||
|
||
- name: 🔨 Use latest stable Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: 📦 Install dependencies | ||
run: bun install --frozen-lockfile | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: 🛠️ Build | ||
run: bun run build:debug:ios | ||
|
||
- name: 📁 Prepare cache folder | ||
run: | | ||
mkdir ios-debug-build | ||
mv ./ios/build/Build/Products/Debug-iphonesimulator/Foam.app ios-debug-build/ios-debug.app | ||
- name: 📡 Store built app in cache | ||
id: ios-debug-save | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ios-debug-build/ | ||
key: ios-debug-build-${{ needs.lookup-cached-build.outputs.fingerprint }} |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Commitlint | ||
on: | ||
pull_request: | ||
jobs: | ||
cz: | ||
name: cz | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🏗 Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: 🥟 Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version-file: '.bun-version' | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: 📦 Install dependencies | ||
run: bun install --frozen-lockfile | ||
|
||
- name: 🧑🔬 Check commit message | ||
run: | | ||
bun run commitlint --from=HEAD^1 |
Oops, something went wrong.