Skip to content

Commit df53577

Browse files
committed
Fix api-docs build
1 parent a559f4c commit df53577

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,17 @@ jobs:
527527
echo "clean=false" >> $GITHUB_OUTPUT
528528
fi
529529
530+
- name: Use Node.js
531+
uses: actions/setup-node@v6
532+
with:
533+
cache: yarn
534+
node-version-file: .node-version
535+
530536
- name: Build website
531537
if: steps.diffcheck.outputs.clean == 'false'
532538
run: |
533-
npm ci
534-
npm run build
539+
yarn
540+
yarn build
535541
536542
- name: Commit and push
537543
if: ${{ steps.diffcheck.outputs.clean == 'false' && startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)