From a91a8ba5752e83160ab506b7affd06d02c01947b Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Wed, 8 Jun 2022 12:19:47 +0530 Subject: [PATCH] chore: use pnpm/action-setup instead of manual pnpm install --- .github/workflows/deploy-staging-netlify.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-staging-netlify.yml b/.github/workflows/deploy-staging-netlify.yml index cdb59720f..d9e311ce2 100644 --- a/.github/workflows/deploy-staging-netlify.yml +++ b/.github/workflows/deploy-staging-netlify.yml @@ -13,11 +13,11 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 - - name: Install pnpm - run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 - - - name: Install Dependencies - run: pnpm install + - name: Setup and run pnpm install + uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + run_install: true - name: Build Site env: