Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
c00a547
fixed and upgraded ci java
dougg0k Jul 16, 2025
05407ac
attempt to fix cache issue
dougg0k Jul 18, 2025
253e867
possible fix for yarn version
dougg0k Jul 18, 2025
63f7a9b
enabled corepack
dougg0k Jul 18, 2025
b676eb9
attempt to set global yarn version
dougg0k Jul 18, 2025
364f840
set yarn latest and corepack to all ci files
dougg0k Jul 18, 2025
53c29d4
updated ruby version
dougg0k Jul 18, 2025
243ebaf
updated gemfile
dougg0k Jul 18, 2025
8729ef8
attempt to fix pod install
dougg0k Jul 18, 2025
9793c31
removed flag from command
dougg0k Jul 18, 2025
19de962
removed command
dougg0k Jul 18, 2025
714196d
added gemfile.lock
dougg0k Jul 18, 2025
dcb87a9
removed gemfile.lock and added attempt to fix bad cache
dougg0k Jul 18, 2025
fd99d51
attempt to fix yarn error
dougg0k Jul 18, 2025
4709cf0
fixed deprecated yarn flag
dougg0k Jul 18, 2025
c3b2382
added some yarn files
dougg0k Jul 18, 2025
34021ad
attempt to fix gradle lint
dougg0k Jul 18, 2025
ae7d4a5
removed validate android, because there is no gradlew on lib
dougg0k Jul 18, 2025
e9f8fcc
changed gradle cache approach
dougg0k Jul 18, 2025
a537602
updated gradle version
dougg0k Jul 18, 2025
85d5505
updated dev packages and added rn cli for android
dougg0k Jul 18, 2025
019e548
fixed rn android cli dep
dougg0k Jul 18, 2025
9e330a9
replaced slow and problematic eslint and prettier with biome
dougg0k Jul 18, 2025
fbd2628
fixed many lint and format issues
dougg0k Jul 18, 2025
870c315
attempt to fix pod install
dougg0k Jul 18, 2025
f4a19bd
updated pod install command
dougg0k Jul 18, 2025
80547bb
tried pod-install with npx
dougg0k Jul 18, 2025
0be4629
updated build ios
dougg0k Jul 18, 2025
bfff2e3
fixed react import
dougg0k Jul 18, 2025
4b3a441
removed corepack requirement
dougg0k Jul 18, 2025
529f229
updated more yarn configs
dougg0k Jul 18, 2025
f6d0662
regenerated yarn lock files
dougg0k Jul 18, 2025
8a44005
remove unneeded file
dougg0k Jul 18, 2025
2cb1aad
enabled corepack back
dougg0k Jul 18, 2025
221077c
removed rule that does not make sense if you are auto fixing with lint
dougg0k Jul 18, 2025
3c7b41d
refactor repeated job part
dougg0k Jul 18, 2025
e68a299
removed property in attempt to fix install issue
dougg0k Jul 18, 2025
b8d66cd
removed cache pod portion of script
dougg0k Jul 18, 2025
024fa8c
attempt to fix bundle path
dougg0k Jul 18, 2025
a902cd8
keep default as just example
dougg0k Jul 18, 2025
9ce2999
add path to paths in ios script
dougg0k Jul 18, 2025
72b84ed
more ios script changes
dougg0k Jul 18, 2025
fb0c48e
removed podfile.lock
dougg0k Jul 18, 2025
3f18f7a
attempt to fix ios path
dougg0k Jul 18, 2025
0ac25f0
yarn changes
dougg0k Jul 18, 2025
d8686b3
yarn changes
dougg0k Jul 18, 2025
cb540bc
test without check
dougg0k Jul 18, 2025
f6f20f2
attempt to fix podfile path
dougg0k Jul 18, 2025
3a83533
ios changes
dougg0k Jul 18, 2025
f6c57c3
returned gemfile to previous state
dougg0k Jul 18, 2025
bd50b8c
tried disabling yarn cache
dougg0k Jul 18, 2025
45c02b7
added env to podfile and enabled cache back
dougg0k Jul 18, 2025
886ca22
separated ios steps
dougg0k Jul 18, 2025
85fe6e5
reduced commands to one
dougg0k Jul 18, 2025
06b51a2
attempt to fix path in podfile
dougg0k Jul 18, 2025
1856551
removed some yarn conf
dougg0k Jul 18, 2025
aeaeb25
added yarn conf
dougg0k Jul 18, 2025
6656d5d
updated rn to fix ios pod no longer working
dougg0k Jul 18, 2025
827b1d9
added upgrade files and updated gemfile
dougg0k Jul 18, 2025
6934543
updated gemfile
dougg0k Jul 19, 2025
f88d56e
updated gemfile
dougg0k Jul 19, 2025
64f36d9
fixed pbxproj
dougg0k Jul 19, 2025
f7b5335
attempt to fix path issue from gradle
dougg0k Jul 19, 2025
47fce65
add android changes
dougg0k Jul 19, 2025
538afa6
fixed cd
dougg0k Jul 19, 2025
554de41
updated android ci script
dougg0k Jul 19, 2025
3d111fa
fixd build-android
dougg0k Jul 19, 2025
6a1588e
removed unneeded package
dougg0k Jul 19, 2025
7083854
testing with gradle cache disabled
dougg0k Jul 19, 2025
023ec8e
updated some gradle settings and java version
dougg0k Jul 19, 2025
c97a0a6
fixed names in xcodebuild command
dougg0k Jul 19, 2025
e4eadcc
fix: lefthook and package script
dougg0k Jul 19, 2025
8d3f10d
chore: add commits hooks
dougg0k Jul 19, 2025
18ac85d
fix: lefthook script
dougg0k Jul 19, 2025
f141e19
chore: added tests and build prepare and removed circleci
dougg0k Jul 19, 2025
a480522
chore: some upgrade and possible last build step fixes
dougg0k Jul 19, 2025
968bc26
fix: removed bundle commands
dougg0k Jul 19, 2025
f9d37ff
chore: attempt to add dynamic path to ci
dougg0k Jul 19, 2025
6677672
chore: reduced java and gradle version
dougg0k Jul 19, 2025
6ded673
fix: attempt to fix xcodebuild
dougg0k Jul 19, 2025
362225f
chore: added some ios paths
dougg0k Jul 19, 2025
269394b
fix: attempt to get xcodebuild working
dougg0k Jul 19, 2025
e01d8b3
fix: misplaced possible fix
dougg0k Jul 19, 2025
b303548
chore: disabled flipper on podfile
dougg0k Jul 19, 2025
a3faab1
chore: test new xcodebuild flags
dougg0k Jul 19, 2025
e4480d9
chore: attempt replacing ios build command
dougg0k Jul 19, 2025
6f14a00
chore: added xcodebuild command back
dougg0k Jul 19, 2025
e869110
fix: added cd ios
dougg0k Jul 19, 2025
ed5cf6f
chore: attempt podfile fix
dougg0k Jul 19, 2025
ef7011c
chore: attempt fix ios build err
dougg0k Jul 19, 2025
8fa29f6
chore: use latest cocoapods
dougg0k Jul 19, 2025
00d7afd
fix: attempt gemfile fix
dougg0k Jul 19, 2025
46e66aa
chore: attempt fix from podfile
dougg0k Jul 19, 2025
bf6b704
chore: removed reviewdog
dougg0k Jul 19, 2025
f518749
Merge remote-tracking branch 'upstream/main' into fix-java-ci
dougg0k Jul 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 0 additions & 98 deletions .circleci/config.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Setup
description: Setup Node.js and install dependencies

inputs:
project-path:
description: "The path to the project directory (e.g., example/)"
required: false

runs:
using: composite
steps:
- name: Enable corepack and set yarn to latest stable
shell: bash
run: |
corepack enable
yarn set version stable

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"

- name: Restore dependencies
id: yarn-cache
uses: actions/cache/restore@v4
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-

- name: Install dependencies
working-directory: ${{ inputs.project-path }}
shell: bash
run: yarn install --immutable --check-cache

- name: Cache dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ steps.yarn-cache.outputs.cache-primary-key }}
48 changes: 13 additions & 35 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
name: Build Android App

on:
push:
branches:
- master
paths:
- ".github/workflows/build-android.yml"
- "android/**"
- "example/android/**"
- "yarn.lock"
- "example/yarn.lock"
pull_request:
paths:
- ".github/workflows/build-android.yml"
Expand All @@ -24,37 +15,24 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: example/android
working-directory: example
steps:
- uses: actions/checkout@v4

- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: "temurin"
cache: "gradle"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache
uses: actions/cache@v4
id: yarn-cache
- name: Setup
uses: ./.github/actions/setup
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install node_modules for example/
run: yarn install --frozen-lockfile --cwd ..
project-path: example

- name: Restore Gradle cache
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Gradle Build
run: ./gradlew assembleDebug
- name: Run Build
run: |
cd android
./gradlew clean
./gradlew assembleDebug
58 changes: 23 additions & 35 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
name: Build iOS App

on:
push:
branches:
- master
paths:
- ".github/workflows/build-ios.yml"
- "ios/**"
- "*.podspec"
- "example/ios/**"
pull_request:
paths:
- ".github/workflows/build-ios.yml"
- "ios/**"
- "*.podspec"
- "example/**"
- "ios/**"
- "example/ios/**"

jobs:
Expand All @@ -22,30 +14,21 @@ jobs:
runs-on: macOS-latest
defaults:
run:
working-directory: example/ios
working-directory: example
steps:
- uses: actions/checkout@v4

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache
uses: actions/cache@v4
id: yarn-cache
- name: Setup
uses: ./.github/actions/setup
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install node_modules for example/
run: yarn install --frozen-lockfile --cwd ..
project-path: example

- name: Setup Ruby (bundle)
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
working-directory: example/ios
ruby-version: 3.4.5
bundler-cache: false
cache-version: 3

- name: Restore Pods cache
uses: actions/cache@v4
Expand All @@ -57,14 +40,19 @@ jobs:
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-

- name: Install Gemfile
run: |
bundle install

- name: Install Pods
run: bundle exec pod check || bundle exec pod install
run: |
cd ios
bundle exec pod repo update --verbose
bundle exec pod install

- name: Build App
run: "xcodebuild \
-workspace CompressorExample.xcworkspace \
-scheme CompressorExample \
-sdk iphonesimulator \
-configuration Debug \
-destination \"generic/platform=iOS Simulator\" \
build \
CODE_SIGNING_ALLOWED=NO"
run: |
cd ios
xcodebuild -project KeysExample.xcodeproj -sdk iphonesimulator -configuration Debug -arch arm64 build -UseModernBuildSystem=YES CODE_SIGN_STYLE=Automatic
# yarn exec react-native build-ios --mode Debug
26 changes: 26 additions & 0 deletions .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on:
pull_request:
paths:
- ".github/workflows/build-android.yml"
- "android/**"
- "example/android/**"
- "yarn.lock"
- "example/yarn.lock"

jobs:
build:
name: Prepare / Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Install node_modules (example/)
run: yarn --cwd example install --immutable --check-cache

- name: Prepare / Build
run: yarn prepare
2 changes: 1 addition & 1 deletion .github/workflows/publishnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: lts/*
- run: yarn install
- name: "Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/validate-android.yml

This file was deleted.

Loading
Loading