chore: use pnpm/action-setup instead of manual pnpm install
This commit is contained in:
10
.github/workflows/deploy-staging-netlify.yml
vendored
10
.github/workflows/deploy-staging-netlify.yml
vendored
@@ -13,11 +13,11 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Setup and run pnpm install
|
||||||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6
|
uses: pnpm/action-setup@v2.2.2
|
||||||
|
with:
|
||||||
- name: Install Dependencies
|
version: 7
|
||||||
run: pnpm install
|
run_install: true
|
||||||
|
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user