feat: update CI workflow to use pnpm for dependency installation and upgrade Expo action version
Some checks failed
Build App / build (push) Failing after 1m41s
Some checks failed
Build App / build (push) Failing after 1m41s
This commit is contained in:
@@ -14,16 +14,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
|
- name: 🏗 Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
|
||||||
- name: 🏗 Setup Expo and EAS
|
- name: 🏗 Setup Expo and EAS
|
||||||
uses: expo/expo-github-action@v7
|
uses: expo/expo-github-action@v8
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
expo-version: latest
|
|
||||||
eas-version: latest
|
eas-version: latest
|
||||||
|
packager: pnpm
|
||||||
|
|
||||||
- name: 📦 Install dependencies
|
- name: 📦 Install dependencies
|
||||||
run: npm install
|
run: pnpm install
|
||||||
working-directory: App
|
working-directory: mobile
|
||||||
|
|
||||||
- name: 👷 Build app
|
- name: 👷 Build app
|
||||||
run: |
|
run: |
|
||||||
@@ -32,12 +37,11 @@ jobs:
|
|||||||
--output=./app-build \
|
--output=./app-build \
|
||||||
--platform=android \
|
--platform=android \
|
||||||
--profile=preview
|
--profile=preview
|
||||||
working-directory: App
|
working-directory: mobile
|
||||||
|
|
||||||
|
|
||||||
- name: 📤 Upload build artifact
|
- name: 📤 Upload build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: android-preview-build.zip
|
name: android-preview-build.zip
|
||||||
path: App/app-build/*
|
path: mobile/app-build/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|||||||
Reference in New Issue
Block a user