mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-02-11 16:19:11 -06:00
Update github workflow and package.json
This commit is contained in:
10
.github/workflows/upload_docs.yml
vendored
10
.github/workflows/upload_docs.yml
vendored
@@ -12,20 +12,16 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: pnpm
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
run: npm ci
|
||||
|
||||
- name: Build documentation
|
||||
run: pnpm vitepress build docs
|
||||
run: npx vitepress build docs
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user