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