File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,21 +32,21 @@ jobs:
3232 uses : actions/checkout@v5
3333 with :
3434 fetch-depth : 0 # Not needed if lastUpdated is not enabled
35- # - uses: pnpm/action-setup@v4 # Uncomment this block if you're using pnpm
36- # with:
37- # version: 9 # Not needed if you've set "packageManager" in package.json
38- # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
35+ - uses : pnpm/action-setup@v4
3936 - name : Setup Node
4037 uses : actions/setup-node@v6
4138 with :
4239 node-version : 24
43- cache : npm # or pnpm / yarn
40+ cache : pnpm
41+ cache-dependency-path : docs/pnpm-lock.yaml
4442 - name : Setup Pages
4543 uses : actions/configure-pages@v4
4644 - name : Install dependencies
47- run : npm ci # or pnpm install / yarn install / bun install
45+ run : pnpm install --frozen-lockfile
46+ working-directory : docs
4847 - name : Build with VitePress
49- run : npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
48+ run : pnpm docs:build
49+ working-directory : docs
5050 - name : Upload artifact
5151 uses : actions/upload-pages-artifact@v3
5252 with :
You can’t perform that action at this time.
0 commit comments