Skip to content

Commit

Permalink
fix: install pnpm before node in deploy-docusaurus-docs (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryscheng authored May 23, 2024
1 parent 18534fc commit 19e22c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-docusaurus-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ jobs:
with:
fetch-depth: 1

- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
cache: "pnpm"
node-version: "20.x"

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
Expand All @@ -45,6 +39,12 @@ jobs:
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
cache: "pnpm"
node-version: "20.x"

- name: Build
run: pnpm build:docs

Expand Down

0 comments on commit 19e22c7

Please sign in to comment.