[pnpm] Fix CI attempt 4 (#10565)

This commit is contained in:
Samuel Newman
2026-05-20 18:58:55 +03:00
committed by GitHub
parent c1817d3425
commit 4908816253
6 changed files with 317 additions and 2603 deletions
+9 -4
View File
@@ -43,15 +43,20 @@ jobs:
- name: 🪛 Setup jq
uses: dcarbone/install-jq-action@v2
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup EAS CLI & local builds
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin
- name: 🔨 Setup Expo CLI
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: ⚙️ Install dependencies
run: pnpm install --frozen-lockfile
- uses: actions/setup-java@v5
with:
distribution: "temurin"
@@ -87,7 +92,7 @@ jobs:
SENTRY_RELEASE=${{ steps.env.outputs.EXPO_PUBLIC_RELEASE_VERSION }}
SENTRY_DIST=${{ steps.env.outputs.EXPO_PUBLIC_BUNDLE_IDENTIFIER }}
pnpm use-build-number-with-bump
pnpm eas build -p android
eas build -p android
--profile $PROFILE
--local --output build.aab --non-interactive
@@ -157,7 +162,7 @@ jobs:
SENTRY_RELEASE=${{ steps.env.outputs.EXPO_PUBLIC_RELEASE_VERSION }}
SENTRY_DIST=${{ steps.env.outputs.EXPO_PUBLIC_BUNDLE_IDENTIFIER }}
pnpm use-build-number-with-bump
pnpm eas build -p android
eas build -p android
--profile production-apk
--local --output build.apk --non-interactive
+9 -4
View File
@@ -43,15 +43,20 @@ jobs:
- name: 🪛 Setup jq
uses: dcarbone/install-jq-action@v2
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup EAS CLI & local builds
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin
- name: 🔨 Setup Expo CLI
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: ⚙️ Install dependencies
run: pnpm install --frozen-lockfile
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.4"
@@ -99,7 +104,7 @@ jobs:
SENTRY_RELEASE=${{ steps.env.outputs.EXPO_PUBLIC_RELEASE_VERSION }}
SENTRY_DIST=${{ steps.env.outputs.EXPO_PUBLIC_BUNDLE_IDENTIFIER }}
pnpm use-build-number-with-bump
pnpm eas build -p ios
eas build -p ios
--profile $PROFILE
--local --output build.tar.gz --non-interactive
@@ -139,7 +144,7 @@ jobs:
fi
- name: 🚀 Deploy
run: pnpm eas submit -p ios --non-interactive --path "$BUILD_DIR/Bluesky.ipa"
run: eas submit -p ios --non-interactive --path "$BUILD_DIR/Bluesky.ipa"
- name: 🪲 Upload dSYM to Sentry
run: >
+34 -14
View File
@@ -86,17 +86,23 @@ jobs:
- name: Type check
run: pnpm typecheck
- name: 🔨 Setup EAS
uses: expo/expo-github-action@main
if: ${{ !steps.fingerprint.outputs.includes-changes }}
with:
expo-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 🪛 Setup jq
if: ${{ !steps.fingerprint.outputs.includes-changes }}
uses: dcarbone/install-jq-action@v2
- name: ⛏️ Setup EAS CLI & local builds
if: ${{ !steps.fingerprint.outputs.includes-changes }}
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin@latest
- name: 🔨 Setup Expo CLI
if: ${{ !steps.fingerprint.outputs.includes-changes }}
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
# eas.json not used here, set EXPO_PUBLIC_ENV
- name: Env
env:
@@ -178,10 +184,17 @@ jobs:
node-version-file: .nvmrc
cache: pnpm
- name: 🔨 Setup EAS
- name: ⛏️ Setup EAS CLI & local builds
if: ${{ !steps.fingerprint.outputs.includes-changes }}
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin
- name: 🔨 Setup Expo CLI
if: ${{ !steps.fingerprint.outputs.includes-changes }}
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: ⚙️ Install dependencies
@@ -229,7 +242,7 @@ jobs:
SENTRY_RELEASE=${{ steps.env.outputs.EXPO_PUBLIC_RELEASE_VERSION }}
SENTRY_DIST=${{ steps.env.outputs.EXPO_PUBLIC_BUNDLE_IDENTIFIER }}
pnpm use-build-number-with-bump
pnpm eas build -p ios
eas build -p ios
--profile testflight
--local --output build.tar.gz --non-interactive
@@ -324,20 +337,27 @@ jobs:
node-version-file: .nvmrc
cache: pnpm
- name: 🔨 Setup EAS
- name: ⛏️ Setup EAS CLI & local builds
if: ${{ !steps.fingerprint.outputs.includes-changes }}
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin
- name: 🔨 Setup Expo CLI
if: ${{ !steps.fingerprint.outputs.includes-changes }}
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: ⚙️ Install dependencies
run: pnpm install --frozen-lockfile
- uses: actions/setup-java@v5
with:
distribution: "temurin"
java-version: "17"
- name: ⚙️ Install dependencies
run: pnpm install --frozen-lockfile
- name: 🔤 Compile translations
run: pnpm intl:build
@@ -363,7 +383,7 @@ jobs:
SENTRY_RELEASE=${{ steps.env.outputs.EXPO_PUBLIC_RELEASE_VERSION }}
SENTRY_DIST=${{ steps.env.outputs.EXPO_PUBLIC_BUNDLE_IDENTIFIER }}
pnpm use-build-number-with-bump
pnpm eas build -p android
eas build -p android
--profile testflight-android
--local --output build.apk --non-interactive
+6 -1
View File
@@ -140,10 +140,15 @@ jobs:
- name: Type check
run: pnpm typecheck
- name: 🔨 Setup EAS
- name: ⛏️ Setup EAS CLI & local builds
# note: can't do it via expo-github-action because we need to set the allow-build flag
run: pnpm -g --allow-build=dtrace-provider add eas-cli@latest eas-cli-local-build-plugin
- name: 🔨 Setup Expo CLI
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: 🪛 Setup jq