|
@@ -22,7 +22,7 @@ permissions:
|
|
|
concurrency:
|
|
|
group: pages
|
|
|
cancel-in-progress: false
|
|
|
-
|
|
|
+#
|
|
|
jobs:
|
|
|
# Build job
|
|
|
build:
|
|
@@ -31,21 +31,21 @@ jobs:
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
|
- fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
|
|
- - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
|
|
|
+ fetch-depth: 0
|
|
|
+ - name: Setup pnpm
|
|
|
+ uses: pnpm/action-setup@v3
|
|
|
with:
|
|
|
package_json_file: docs/package.json
|
|
|
- version: 8.15.1
|
|
|
- # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
|
|
|
+ version: 9
|
|
|
- name: Setup Node
|
|
|
uses: actions/setup-node@v4
|
|
|
with:
|
|
|
- node-version: 18.18.2
|
|
|
- cache: pnpm # or pnpm / yarn
|
|
|
+ node-version: 20
|
|
|
cache-dependency-path: docs/pnpm-lock.yaml
|
|
|
+ cache: pnpm
|
|
|
- name: Setup Pages
|
|
|
uses: actions/configure-pages@v4
|
|
|
- - name: Install dependencies and build
|
|
|
+ - name: Install Dependencies and Build
|
|
|
shell: bash
|
|
|
run: |
|
|
|
cd docs
|