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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TURBO_TOKEN=readonly
TURBO_TEAM=expo
TURBO_CACHE=local:rw,remote:r
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ source_secrets secrets/expotools.env
source_local
install_git_hooks
use_ruby "3.3" "3.4" "4.0"

dotenv_if_exists .env
3 changes: 3 additions & 0 deletions .github/workflows/android-instrumentation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 📱 Run instrumented unit tests
timeout-minutes: 80
uses: ./.github/actions/use-android-emulator
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/android-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 💅 Run Spotless lint check
working-directory: apps/bare-expo/android
run: ./gradlew spotlessCheck || { echo '::error Spotless lint failed. Run `./gradlew spotlessApply` from `apps/bare-expo/android` to automatically fix formatting.' && exit 1; }
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bare-diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
pnpm-docs: 'true'
- name: ➕ Add `bin` to GITHUB_PATH
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧐 Check diffs
run: |
echo "Checking that expo-template-bare-minimum diffs are updated"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/check-issues-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🔎 Validate issues with pending labels
run: pnpm expotools validate-issue --issue "*"
env:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:

- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

- name: 🔎 Type Check CLI
working-directory: packages/@expo/cli
Expand Down Expand Up @@ -146,6 +149,9 @@ jobs:

- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

- name: 🔎 Type Check CLI
working-directory: packages/@expo/cli
Expand Down Expand Up @@ -190,6 +196,9 @@ jobs:

- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

- name: 🎭 Get Playwright information
id: playwright-info
Expand Down Expand Up @@ -271,6 +280,9 @@ jobs:

- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

- name: 🎭 Get Playwright information
id: playwright-info
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
run: pnpm install --ignore-scripts --frozen-lockfile
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

### This job is run on Ubuntu which doesn't have SwiftLint installed, so we need to build it from sources.
### Building it on each run may take too much time, so we bundle the binary in `@expo/swiftlint` package.
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/commentator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 💬 Comment on GitHub issues as github-actions bot
run: pnpm expotools commentator --payload "${{ github.event.inputs.payload }}"
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-expo-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
cache: 'pnpm'
- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🛠 Build create-expo
run: pnpm run prepublishOnly
working-directory: packages/create-expo
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-expo-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
cache: 'pnpm'
- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🛠 Build create-expo-module
run: pnpm run prepublishOnly
working-directory: packages/create-expo-module
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/development-client-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
avd-name: avd-${{ matrix.api-level }}
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧶 Install `expo-test-runner`
run: |
pnpm add -g expo-test-runner@$(cat package.json | grep '"expo-test-runner": "[0-9]*\.[0-9]*\.[0-9]*' | head -n 1 | awk '{print $2}' | sed 's/"//g; s/,//g')
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/development-client-latest-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
avd-name: avd-${{ matrix.api-level }}
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧶 Install `expo-test-runner`
run: |
pnpm add -g expo-test-runner@$(cat package.json | grep '"expo-test-runner": "[0-9]*\.[0-9]*\.[0-9]*' | head -n 1 | awk '{print $2}' | sed 's/"//g; s/,//g')
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/development-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
ndk-version: ${{ matrix.ndk-version }}
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: Init new expo app
working-directory: ../
run: pnpm create expo-app ./development-client-android-test --yes
Expand Down Expand Up @@ -107,6 +110,9 @@ jobs:
id: expo-caches
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: Init new expo app
working-directory: ../
run: pnpm create expo-app ./development-client-ios-test --yes
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
run: pnpm install --ignore-scripts --frozen-lockfile
- name: ➕ Add `bin` to GITHUB_PATH
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 📝 Regenerate `unversioned` data for Docs
if: steps.expo-caches.outputs.docs-api-data-hit != 'true'
run: expotools generate-docs-api-data
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/expo-go-android-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 📦 Install react-native submodule dependencies
run: yarn install
working-directory: react-native-lab/react-native
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/expotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Compile TypeScript sources
run: pnpm build
working-directory: tools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🛠 Typecheck sources
run: pnpm tsc --noEmit
working-directory: tools
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/fingerprint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Build fingerprint packages
run: pnpm turbo build --filter @expo/fingerprint...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: E2E Test @expo/fingerprint
run: |
pnpm tsc
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios-prebuild-external-xcframeworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ jobs:

- name: Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo

- name: Prebuild External XCFrameworks (${{ matrix.flavor }})
id: prebuild_xcframeworks
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios-static-frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
id: expo-caches
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🍏 Build iOS Project
working-directory: ./apps/bare-expo
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
run: ccache -z
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🥥 Install CocoaPods in `apps/native-tests/ios`
if: steps.expo-caches.outputs.bare-expo-pods-hit != 'true'
run: pod install
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/issue-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🔎 Close Linear issue
# accepted issues should have a corresponding Linear issue (from issue-triage.yml)
# if not, we don't want to fail the workflow
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/issue-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🔎 Validate issue complies with requirements
run: pnpm expotools validate-issue --issue "${{ github.event.issue.number }}"
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ jobs:
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
- name: 🛠 Build expotools
run: pnpm turbo build --filter expotools...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🔎 Import issue to Linear
run: pnpm expotools import-github-issue-to-linear --issue "${{ github.event.issue.number }}" --importer "${{ github.triggering_actor }}"
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/native-component-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Build app dependencies
run: pnpm turbo build --filter native-component-list...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🛠 Compile NCL sources
run: pnpm tsc
working-directory: apps/native-component-list
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Build app dependencies
run: pnpm turbo build --filter bare-expo...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: Get the base commit
id: base-commit
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-canaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
java-version: '17'
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 📦 Publish canaries
run: pnpm expotools publish-packages --canary ${{ github.event_name != 'workflow_dispatch' && '--dry' || '' }} ${{ inputs.skip-ios-prebuilds && '--skip-ios-prebuilds' || '' }}
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
bun-version: latest
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Build router packages
run: pnpm turbo build --filter expo-router...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧪 Run types tests
working-directory: packages/expo-router
run: pnpm test:types
6 changes: 6 additions & 0 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
bun-version: latest
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧐 Check all packages
if: github.event_name == 'schedule' ||
github.event.inputs.checkAll == 'check-all' ||
Expand Down Expand Up @@ -103,6 +106,9 @@ jobs:
bun-version: latest
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🧐 Check all packages
run: pnpm expotools check-packages --all
- name: 🔔 Notify on Slack
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-react-native-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
run: gem install cocoapods xcpretty
- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: ⭐️ Create test-nightlies Project
run: bun src/index.ts --expo-repo ${{ github.workspace }} --no-install ${{ runner.temp }}
working-directory: packages/create-expo-nightly
Expand Down Expand Up @@ -122,6 +125,9 @@ jobs:
java-version: '17'
- name: 📦 Install node modules in root dir
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: ⭐️ Create test-nightlies Project
run: bun src/index.ts --expo-repo ${{ github.workspace }} --no-install ${{ runner.temp }}
working-directory: packages/create-expo-nightly
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-suite-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Build app dependencies
run: pnpm turbo build --filter test-suite...
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🚨 Lint test-suite files
run: pnpm lint --max-warnings 0
working-directory: apps/test-suite
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-suite-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ jobs:
bare-expo-macos-pods: 'true'
- name: 📦 Install node modules
run: pnpm install --frozen-lockfile
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: expo
- name: 🕵️ Debug CocoaPods lockfiles
run: git diff Podfile.lock Pods/Manifest.lock
working-directory: apps/bare-expo/macos
Expand Down
Loading
Loading