Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v5
with:
path: |
**/node_modules
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/build-android-llm-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,34 @@ jobs:
steps:
- name: Free Disk Space (Manual)
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker system prune -af
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker system prune -af

- name: Check out Git repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '18'
cache: 'yarn'
node-version: "24"
cache: "yarn"
- name: Setup Java 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'zulu'
distribution: "zulu"
java-version: 17
cache: 'gradle'
cache: "gradle"
- name: Install root dependencies
run: yarn install --immutable
- name: Install Expo CLI
run: |
npm install -g @expo/cli
echo "$(npm prefix -g)/bin" >> $GITHUB_PATH
- name: Cache Expo prebuild
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.WORKING_DIRECTORY }}/android
key: ${{ runner.os }}-expo-android-${{ hashFiles('${{ env.WORKING_DIRECTORY }}/app.json', '${{ env.WORKING_DIRECTORY }}/package.json') }}
Expand All @@ -67,7 +67,7 @@ jobs:
echo "Android project exists, skipping prebuild"
fi
- name: Cache Gradle
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
Expand Down
36 changes: 14 additions & 22 deletions .github/workflows/build-ios-llm-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
branches:
- main
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'apps/llm/**'
- 'packages/react-native-executorch/**'
- ".github/workflows/build-ios-llm-example.yml"
- "*.podspec"
- "apps/llm/**"
- "packages/react-native-executorch/**"
pull_request:
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'apps/llm/**'
- 'packages/react-native-executorch/**'
- ".github/workflows/build-ios-llm-example.yml"
- "*.podspec"
- "apps/llm/**"
- "packages/react-native-executorch/**"
workflow_dispatch:
jobs:
build:
Expand All @@ -27,33 +27,25 @@ jobs:
with:
xcode-version: latest-stable
- name: Check out Git repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '18'
cache: 'yarn'
node-version: "24"
cache: "yarn"
- name: Install root dependencies
run: yarn install --immutable
- name: Install Expo CLI
run: |
npm install -g @expo/cli
echo "$(npm prefix -g)/bin" >> $GITHUB_PATH
- name: Cache Expo prebuild
uses: actions/cache@v4
with:
path: apps/llm/ios
key: ${{ runner.os }}-expo-ios-${{ hashFiles('apps/llm/app.json', 'apps/llm/package.json') }}
- name: Generate native iOS project
working-directory: apps/llm
run: |
if [ ! -d "ios" ]; then
npx expo prebuild --platform ios --no-install
else
echo "iOS project exists, skipping prebuild"
fi
rm -rf ios
npx expo prebuild --platform ios --no-install
- name: Install CocoaPods dependencies
working-directory: apps/llm/ios
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Setup
uses: ./.github/actions/setup
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Setup
uses: ./.github/actions/setup
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
WORKING_DIRECTORY: docs
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js 20
uses: actions/setup-node@v4
uses: actions/checkout@v6
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
- name: Install node dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn install --immutable
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish-bare-resource-fetcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
TAG: PLACEHOLDER
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 22.22.1
node-version: 24
cache: 'yarn'
registry-url: https://registry.npmjs.org/

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish-expo-resource-fetcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
TAG: PLACEHOLDER
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 22.22.1
node-version: 24
cache: 'yarn'
registry-url: https://registry.npmjs.org/

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
TAG: PLACEHOLDER
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 22.22.1
node-version: 24
cache: 'yarn'
registry-url: https://registry.npmjs.org/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v1
uses: actions/checkout@v6

- name: Generate docs
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22
v24
Loading