Skip to content

Commit f72b460

Browse files
author
Amram Englander
committed
Fix docs CI: build from docs/ directory with ESM support
1 parent 45f09db commit f72b460

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626
with:
2727
node-version: 22
2828

29-
- name: Install VitePress
29+
- name: Install and build docs
3030
run: |
3131
cd docs
3232
npm init -y > /dev/null 2>&1
33+
npm pkg set type=module
3334
npm install vitepress
34-
35-
- name: Build docs
36-
run: npx vitepress build docs
35+
npx vitepress build
3736
3837
- uses: actions/upload-pages-artifact@v3
3938
with:

0 commit comments

Comments
 (0)