aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-13 16:39:37 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-13 16:39:37 +0800
commit7860149a08fbba28be4865355d8b759df48d492f (patch)
tree02b7a8a41c65b401ed9d35d954b9f04e5c751ee2
parentb8723835f2b5afc8b60a61144d06bd6963255a23 (diff)
downloadDropOut-7860149a08fbba28be4865355d8b759df48d492f.tar.gz
DropOut-7860149a08fbba28be4865355d8b759df48d492f.zip
feat: update release workflow to install pnpm and Node.js with caching
-rw-r--r--.github/workflows/release.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 643138c..4833889 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -75,6 +75,22 @@ jobs:
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
+ with:
+ version: 9
+
+ - name: Install Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: "pnpm"
+ cache-dependency-path: "ui/pnpm-lock.yaml"
+
+ - name: Install Frontend Dependencies
+ run: pnpm install
+ working-directory: ui
+
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with: