Skip to content

Commit aa2afee

Browse files
pnpm fixes again...
1 parent 8b7afc4 commit aa2afee

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/eas-android-build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
uses: actions/setup-node@v4
3636
with:
3737
node-version: 20.x
38-
# Removed cache: "pnpm" so it won't expect pnpm to be pre-installed
38+
# NOTE: Removed cache: "pnpm" to avoid expecting pnpm pre-installed
3939

4040
- name: "🔧 Install pnpm"
4141
run: |
4242
npm install -g pnpm
43-
pnpm --version # for debugging
43+
pnpm --version
4444
4545
- name: "🧩 Install dependencies (ci)"
4646
run: pnpm install --frozen-lockfile
@@ -98,11 +98,16 @@ jobs:
9898
# ========================
9999
# 🔐 EAS Setup & Auth
100100
# ========================
101+
- name: "🔧 Setup pnpm global bin"
102+
run: pnpm setup
103+
101104
- name: "⚙️ Install EAS CLI"
102105
run: pnpm add -g eas-cli@latest
103106

104107
- name: "🔐 Verify Expo Credentials"
105108
run: npx eas whoami --token $EXPO_TOKEN
109+
env:
110+
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
106111

107112
# ========================
108113
# 🏗️ Build Execution
@@ -142,7 +147,7 @@ jobs:
142147
uses: actions/setup-node@v4
143148
with:
144149
node-version: 20.x
145-
# Removed cache setting here as well
150+
# NOTE: Removed cache setting here as well
146151

147152
- name: "🔧 Install pnpm"
148153
run: |
@@ -209,17 +214,14 @@ jobs:
209214
echo "✅ APK_URL=$APK_URL" >> $GITHUB_ENV
210215
exit 0
211216
;;
212-
213217
"ERRORED"|"CANCELLED")
214218
echo "❌ Build failed! Error details:"
215219
echo "$BUILD_STATUS_JSON" | jq .
216220
exit 1
217221
;;
218-
219222
"NEW"|"IN_QUE"|"IN_PROGRESS"|"PENDING")
220223
echo "⏳ Build is still in progress..."
221224
;;
222-
223225
*)
224226
echo "❌ Unknown build status: $BUILD_STATUS"
225227
exit 1

0 commit comments

Comments
 (0)