Skip to content

Commit 321d0bd

Browse files
committed
Generate elm-doc in CI on master
1 parent 625cb8f commit 321d0bd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,23 @@ jobs:
2424
with:
2525
npm-script: doc
2626

27+
doc:
28+
runs-on: ubuntu-latest
29+
needs: build-doc
30+
if: github.ref == 'refs/heads/master'
31+
steps:
32+
- uses: actions/checkout@v5
33+
- name: Set up Python
34+
uses: actions/setup-python@v5
35+
with:
36+
python-version: '3.x'
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip setuptools wheel
40+
pip install elm-doc
41+
- name: Generate docs
42+
run: elm-doc . --output docs --fake-license 'SPDX license name'
43+
2744
# publish:
2845
# runs-on: ubuntu-latest
2946
# steps:

.github/workflows/run-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
dependencies:
1717
runs-on: ${{ inputs.runs-on }}
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- name: Use Node.js 24
2121
uses: actions/setup-node@v6
2222
with:

0 commit comments

Comments
 (0)