Skip to content

Commit 671ff72

Browse files
Update workflow docs test
Signed-off-by: Christopher Hakkaart <christopher.hakkaart@gmail.com>
1 parent 93c4e67 commit 671ff72

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/docs.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ jobs:
99
docs-build:
1010
name: Build
1111
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: docs
1215
steps:
1316
- uses: actions/checkout@v4
14-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-node@v4
1518
with:
16-
python-version: '3.9'
19+
node-version: '20'
20+
cache: 'npm'
21+
cache-dependency-path: docs/package-lock.json
1722

18-
- name: Test docs build
19-
run: |
20-
cd docs/
21-
pip install -r requirements.txt
22-
make clean html
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Build docs
27+
run: npm run build

0 commit comments

Comments
 (0)