Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
ci: use pnpm/action-setup in actions
liyasthomase5e44b889fc0
diff --git a/.github/workflows/deploy-netlify.yml b/.github/workflows/deploy-netlify.ymlindex 53aaa7207..e141db6e0 100644--- a/.github/workflows/deploy-netlify.yml+++ b/.github/workflows/deploy-netlify.yml@@ -12,11 +12,11 @@ jobs:- name: Checkout Repositoryuses: 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: Setup Environmentrun: mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.envdiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex f76db860f..55aa9a834 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -17,12 +17,15 @@ jobs:steps:- uses: actions/checkout@v2- uses: actions/setup-node@v2- - name: Install pnpm- run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6+ - name: Setup and run pnpm install+ uses: pnpm/[email protected]+ with:+ version: 7+ run_install: true- name: Use Node.js ${{ matrix.node-version }}uses: actions/setup-node@v2with:node-version: ${{ matrix.node-version }}cache: pnpm- name: Run tests- run: pnpm i && pnpm -r test+ run: pnpm test