File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 platform : [macos-latest, ubuntu-20.04, windows-latest]
1414 runs-on : ${{ matrix.platform }}
1515 steps :
16- # 1. Checkout the repo
16+ # 1. Checkout repository
1717 - name : Checkout repository
1818 uses : actions/checkout@v3
1919
@@ -34,22 +34,19 @@ jobs:
3434 with :
3535 workspaces : ' ./src-tauri -> target'
3636
37- # 5. Node.js setup with pnpm cache
38- - name : Setup Node.js and pnpm cache
37+ # 5. Node.js setup with pnpm (installs pnpm and caches automatically)
38+ - name : Setup Node.js with pnpm
3939 uses : actions/setup-node@v3
4040 with :
4141 node-version : ' lts/*'
4242 cache : ' pnpm'
43+ cache-dependency-path : pnpm-lock.yaml
4344
44- # 6. Install pnpm CLI
45- - name : Install pnpm
46- run : npm install -g pnpm
47-
48- # 7. Install app dependencies and build frontend
45+ # 6. Install app dependencies and build frontend
4946 - name : Install app dependencies and build web
5047 run : pnpm install && pnpm build
5148
52- # 8 . Build the Tauri app
49+ # 7 . Build the Tauri app
5350 - name : Build the app
5451 uses : tauri-apps/tauri-action@v0
5552 env :
You can’t perform that action at this time.
0 commit comments