install deps in build job

This commit is contained in:
mahula 2024-04-06 11:50:07 +02:00
parent 2dfc2000a0
commit 6fe732856a

View File

@ -35,11 +35,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 21
cache: npm
# run build script
- name: Build Docs
run: npm run docs:build
run: npm install && npm run docs:build
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4