fix(workflow): use pnpm

This commit is contained in:
/home/neo 2026-03-12 20:52:47 +03:00 committed by GitHub
parent 57e1c28cda
commit eac9368cba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,11 +30,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
cache: 'pnpm'
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
@ -47,12 +51,12 @@ jobs:
workspaces: './src-tauri -> target'
- name: install frontend dependencies
run: npm install
run: pnpm install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__
tagName: v__VERSION__
releaseName: 'Emerald v__VERSION__'
releaseBody: '*pls edit me*'
releaseDraft: true