Skip to content

Commit

Permalink
website: fix vitepress ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Nov 13, 2023
1 parent 5da1767 commit 57898f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,24 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn # or pnpm / yarn
cache-dependency-path: website/yarn.lock
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: yarn install # or pnpm install / yarn install / bun install
run: yarn install --frozen-lockfile
- name: Build with VitePress
run: |
yarn docs:build
Expand Down

0 comments on commit 57898f1

Please sign in to comment.