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:
|
||||
node-version: 22
|
||||
|
||||
- name: 🏗 Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: 🏗 Setup Expo and EAS
|
||||
uses: expo/expo-github-action@v7
|
||||
uses: expo/expo-github-action@v8
|
||||
with:
|
||||
token: ${{ secrets.EXPO_TOKEN }}
|
||||
expo-version: latest
|
||||
eas-version: latest
|
||||
packager: pnpm
|
||||
|
||||
- name: 📦 Install dependencies
|
||||
run: npm install
|
||||
working-directory: App
|
||||
run: pnpm install
|
||||
working-directory: mobile
|
||||
|
||||
- name: 👷 Build app
|
||||
run: |
|
||||
@@ -32,12 +37,11 @@ jobs:
|
||||
--output=./app-build \
|
||||
--platform=android \
|
||||
--profile=preview
|
||||
working-directory: App
|
||||
|
||||
working-directory: mobile
|
||||
|
||||
- name: 📤 Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-preview-build.zip
|
||||
path: App/app-build/*
|
||||
path: mobile/app-build/*
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user