Skip to content

Commit c5dbcc2

Browse files
committed
Updated workflow.
1 parent 86ce531 commit c5dbcc2

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
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:

0 commit comments

Comments
 (0)