diff options
| author | 2026-01-13 16:39:37 +0800 | |
|---|---|---|
| committer | 2026-01-13 16:39:37 +0800 | |
| commit | 7860149a08fbba28be4865355d8b759df48d492f (patch) | |
| tree | 02b7a8a41c65b401ed9d35d954b9f04e5c751ee2 | |
| parent | b8723835f2b5afc8b60a61144d06bd6963255a23 (diff) | |
| download | DropOut-7860149a08fbba28be4865355d8b759df48d492f.tar.gz DropOut-7860149a08fbba28be4865355d8b759df48d492f.zip | |
feat: update release workflow to install pnpm and Node.js with caching
| -rw-r--r-- | .github/workflows/release.yml | 16 |
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: |