From cd8feef2bc86f21dbe44c0193d1f664c6c289718 Mon Sep 17 00:00:00 2001 From: the letter L <134443988+turbocrime@users.noreply.github.com> Date: Wed, 3 Jul 2024 13:24:30 -0700 Subject: [PATCH] update pnpm action (#1409) * don't specify incorrect pnpm version * use newest pnpm action * update pnpm version --- .github/workflows/compile-wasm.yml | 2 +- .github/workflows/deploy-firebase-dapp.yml | 4 +--- .github/workflows/packages-release.yml | 2 +- .github/workflows/turbo-ci.yml | 10 +++++----- package.json | 2 +- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/compile-wasm.yml b/.github/workflows/compile-wasm.yml index 9c8ec6a911..62dd672aaf 100644 --- a/.github/workflows/compile-wasm.yml +++ b/.github/workflows/compile-wasm.yml @@ -14,7 +14,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled restore-keys: ${{ hashFiles('**/Cargo.lock') }} - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' diff --git a/.github/workflows/deploy-firebase-dapp.yml b/.github/workflows/deploy-firebase-dapp.yml index e904cfb358..6f03fbaaae 100644 --- a/.github/workflows/deploy-firebase-dapp.yml +++ b/.github/workflows/deploy-firebase-dapp.yml @@ -19,9 +19,7 @@ jobs: - name: Checkout the source code uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Install dependencies run: pnpm install diff --git a/.github/workflows/packages-release.yml b/.github/workflows/packages-release.yml index ed64f34ea2..1c2126e8b5 100644 --- a/.github/workflows/packages-release.yml +++ b/.github/workflows/packages-release.yml @@ -25,7 +25,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-built restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' diff --git a/.github/workflows/turbo-ci.yml b/.github/workflows/turbo-ci.yml index fd04c64dde..db956c1aa8 100644 --- a/.github/workflows/turbo-ci.yml +++ b/.github/workflows/turbo-ci.yml @@ -40,7 +40,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-lint restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' @@ -61,7 +61,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-built restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' @@ -82,7 +82,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-test restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' @@ -104,7 +104,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-lint:rust restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' @@ -128,7 +128,7 @@ jobs: path: .turbo key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-test:rust restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 - uses: buildjet/setup-node@v4 with: node-version: '22' diff --git a/package.json b/package.json index abf366fafd..ecfd071121 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "license": "(MIT OR Apache-2.0)", "repository": "penumbra-zone/web.git", - "packageManager": "pnpm@9.1.2", + "packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a", "scripts": { "all-check": "pnpm clean:vitest-mjs && pnpm install && pnpm compile && pnpm lint && pnpm lint:rust && pnpm build && pnpm test && pnpm test:rust", "all-check:clean": "pnpm clean && pnpm clean:modules && pnpm all-check",