[pnpm] Fix CI attempt 5 (#10567)

This commit is contained in:
Samuel Newman
2026-05-20 19:33:02 +03:00
committed by GitHub
parent a2417e043e
commit 3d4ba946b3
6 changed files with 2612 additions and 323 deletions
+16 -36
View File
@@ -86,23 +86,17 @@ 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:
@@ -184,17 +178,10 @@ jobs:
node-version-file: .nvmrc
cache: pnpm
- 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 }}
- name: 🔨 Setup EAS
uses: expo/expo-github-action@main
with:
expo-version: latest
packager: pnpm
token: ${{ secrets.EXPO_TOKEN }}
- name: ⚙️ Install dependencies
@@ -242,7 +229,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
eas build -p ios
pnpm eas build -p ios
--profile testflight
--local --output build.tar.gz --non-interactive
@@ -282,7 +269,7 @@ jobs:
fi
- name: 🚀 Deploy
run: eas submit -p ios --non-interactive --path "$BUILD_DIR/Bluesky.ipa"
run: pnpm eas submit -p ios --non-interactive --path "$BUILD_DIR/Bluesky.ipa"
- name: 🪲 Upload dSYM to Sentry
run: >
@@ -337,27 +324,20 @@ jobs:
node-version-file: .nvmrc
cache: pnpm
- 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 }}
- name: 🔨 Setup EAS
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
@@ -383,7 +363,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
eas build -p android
pnpm eas build -p android
--profile testflight-android
--local --output build.apk --non-interactive
@@ -409,7 +389,7 @@ jobs:
webhook-type: incoming-webhook
payload-templated: true
payload: |
text: Android build is ready for testing. Download the artifact here: ${{ steps.upload-artifact.outputs.artifact-url }}
{"text": "Android build is ready for testing. Download the artifact here: ${{ steps.upload-artifact.outputs.artifact-url }}"}
- name: ⬇️ Restore Cache
id: get-base-commit