chore: 优化 pnpm 设置步骤,移除重复配置
Some checks failed
/ build (push) Failing after 28m0s

This commit is contained in:
2025-08-14 16:19:23 +08:00
parent 552d33e358
commit d05d050024

View File

@@ -9,25 +9,26 @@ jobs:
- name: 🏗 Setup repo - name: 🏗 Setup repo
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 🏗 Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: 🏗 Setup Node - name: 🏗 Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: pnpm cache: pnpm
- name: 🏗 Setup pnpm - name: 📦 Install dependencies
uses: pnpm/action-setup@v2 run: pnpm install
with:
version: latest
- name: 🏗 Setup EAS - name: 🏗 Setup EAS
uses: expo/expo-github-action@v8 uses: expo/expo-github-action@v8
with: with:
eas-version: latest eas-version: latest
token: ${{ secrets.EXPO_TOKEN }} token: ${{ secrets.EXPO_TOKEN }}
packager: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🚀 Build app - name: 🚀 Build app
run: eas build --non-interactive run: eas build --non-interactive