Skip to content

Commit 3b7be54

Browse files
committed
opt: migrate to pnpm
1 parent 754271d commit 3b7be54

5 files changed

Lines changed: 1268 additions & 2005 deletions

File tree

.github/workflows/android.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,23 @@ jobs:
2626
distribution: 'temurin'
2727
java-version: 21
2828

29+
- name: Setup pnpm
30+
uses: pnpm/action-setup@v4
31+
with:
32+
version: 'latest'
33+
34+
- name: Setup Node
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: 'latest'
38+
cache: 'pnpm'
39+
cache-dependency-path: webui/pnpm-lock.yaml
40+
2941
- name: Build WebUI
3042
run: |
3143
cd webui
32-
npm ci
33-
npm run build
44+
pnpm install --frozen-lockfile
45+
pnpm run build
3446
3547
- name: Grant execute permission for gradlew
3648
run: chmod +x gradlew

0 commit comments

Comments
 (0)