Skip to content

Commit 6bdb4a6

Browse files
author
Your Name
committed
Update publish workflow to use pnpm for dependency installation
1 parent e3d339e commit 6bdb4a6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
3535
- name: setup node
3636
uses: actions/setup-node@v4
37+
38+
- name: install pnpm
39+
uses: pnpm/action-setup@v4
3740
with:
38-
node-version: lts/*
39-
cache: 'yarn' # Set this to npm, yarn or pnpm.
41+
version: 10
4042

4143
- name: install Rust stable
4244
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
@@ -51,7 +53,7 @@ jobs:
5153

5254
- name: install frontend dependencies
5355
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
54-
run: yarn install # change this to npm or pnpm depending on which one you use.
56+
run: pnpm install # change this to npm or pnpm depending on which one you use.
5557

5658
- uses: tauri-apps/tauri-action@v0
5759
env:

0 commit comments

Comments
 (0)