From 02dc22fbef472186bf71abf37e5285d75e88c13c Mon Sep 17 00:00:00 2001 From: AugusMeow Date: Wed, 21 Dec 2022 11:04:45 +0800 Subject: [PATCH] fix: pnpm version --- .github/workflows/build.yml | 6 ++++-- .github/workflows/tauri-action.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ac5a99..2b8a252 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,13 +14,15 @@ jobs: fail-fast: false matrix: platform: [ macos-latest, ubuntu-latest, windows-latest ] - node: ['16', '18'] + node: ['16'] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 - name: install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v2 + with: + version: 7 - name: setup node ${{ matrix.node }} uses: actions/setup-node@v3 with: diff --git a/.github/workflows/tauri-action.yml b/.github/workflows/tauri-action.yml index ac30cdd..bd6cec4 100644 --- a/.github/workflows/tauri-action.yml +++ b/.github/workflows/tauri-action.yml @@ -13,13 +13,15 @@ jobs: fail-fast: false matrix: platform: [macos-latest, ubuntu-latest, windows-latest] - node: ['16', '18'] + node: ['16'] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 - name: install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v2 + with: + version: 7 - name: setup node ${{ matrix.node }} uses: actions/setup-node@v3 with: