From e9eac6460680fe9f83ec46b17cd2346a5782586f Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Tue, 16 May 2023 23:03:55 +0200 Subject: [PATCH] Don't use node setup but use pnpm setup in build scripts. --- .github/workflows/build.yml | 7 +++---- .github/workflows/release.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b85cdf6..79e63e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,17 +11,16 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 - - name: setup node - uses: actions/setup-node@v3 + - uses: pnpm/action-setup@v2 with: - node-version: 16 + version: 6.0.2 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf pnpm + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: install frontend dependencies run: pnpm install - uses: tauri-apps/tauri-action@v0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abb035d..95ff067 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,17 +16,16 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 - - name: setup node - uses: actions/setup-node@v3 + - uses: pnpm/action-setup@v2 with: - node-version: 16 + version: 6.0.2 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf pnpm + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: install frontend dependencies run: pnpm install - uses: tauri-apps/tauri-action@v0