Skip to content

Commit ea99da5

Browse files
pnpm fixes.
1 parent 24a1ee7 commit ea99da5

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

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

Lines changed: 10 additions & 11 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-
cache: "pnpm"
38+
# Removed cache: "pnpm" so it won't expect pnpm to be pre-installed
3939

40-
- name: "🔧 Setup pnpm"
41-
uses: pnpm/action-setup@v4
42-
with:
43-
version: 10
40+
- name: "🔧 Install pnpm"
41+
run: |
42+
npm install -g pnpm
43+
pnpm --version # for debugging
4444
4545
- name: "🧩 Install dependencies (ci)"
4646
run: pnpm install --frozen-lockfile
@@ -142,12 +142,12 @@ jobs:
142142
uses: actions/setup-node@v4
143143
with:
144144
node-version: 20.x
145-
cache: "pnpm"
145+
# Removed cache setting here as well
146146

147-
- name: "🔧 Setup pnpm"
148-
uses: pnpm/action-setup@v4
149-
with:
150-
version: 10
147+
- name: "🔧 Install pnpm"
148+
run: |
149+
npm install -g pnpm
150+
pnpm --version
151151
152152
- name: "📦 Install Dependencies"
153153
run: pnpm install --frozen-lockfile
@@ -242,7 +242,6 @@ jobs:
242242
id: download
243243
run: |
244244
echo "🔽 Retrieving APK URL..."
245-
# Use the build:view command to get a clean JSON response
246245
APK_URL=$(eas build:view --json ${{ needs.build-android.outputs.build_id }} | jq -r '.artifacts.buildUrl')
247246
if [[ -z "$APK_URL" || "$APK_URL" == "null" ]]; then
248247
echo "❌ Error: No APK URL found!"

0 commit comments

Comments
 (0)