back to pnpm, bun is fun but cannot generate tauri build

This commit is contained in:
Ren Amamiya
2023-09-19 15:56:33 +07:00
parent 2b34ef3b7a
commit 824aa8fa28
4 changed files with 11 additions and 8 deletions

View File

@@ -33,18 +33,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install bun
uses: oven-sh/setup-bun@v1
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
bun-version: latest
version: 8.x.x
run_install: false
- name: Setup node and cache for package data
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: bun install
- run: pnpm install
- uses: tauri-apps/tauri-action@dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}