Use yarn instead of pnpm to build the document.
This commit is contained in:
13
.github/workflows/docs.yml
vendored
13
.github/workflows/docs.yml
vendored
@@ -17,20 +17,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup yarn
|
||||||
uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 7
|
|
||||||
run_install: true
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: pnpm
|
cache: yarn
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
- name: Build VuePress site
|
- name: Build VuePress site
|
||||||
run: pnpm docs:build
|
run: yarn docs:build
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v2
|
uses: crazy-max/ghaction-github-pages@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user