Skip to content

Commit

Permalink
docs: add vuepress docs
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed Aug 21, 2024
1 parent 3b25bd0 commit ef9a196
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ jobs:
# fetch all commits to get last updated time or other git log info
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
# choose pnpm version to use
version: 8
# install deps with pnpm
run_install: true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
# choose node.js version to use
node-version: 20
# cache deps for pnpm
cache: pnpm
cache: npm

# run build script
- name: install deps
run: npm i

- name: install deps
run: npm run prepack


# run build script
- name: Build VuePress site
run: pnpm docs:build
run: npm docs:build

# please check out the docs of the workflow for more details
# @see https://github.com/crazy-max/ghaction-github-pages
Expand Down

0 comments on commit ef9a196

Please sign in to comment.