Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: use pnpm/action-setup instead of manual pnpm install

Andrew Bastina91a8ba5752e
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/[email protected]
+ with:
+ version: 7
+ run_install: true
- name: Build Site
env: