From 365c93b22f6ab89800669f29ed6bddc5b1a1dc83 Mon Sep 17 00:00:00 2001 From: Clark Andrianasolo Date: Wed, 3 Dec 2025 19:55:13 +0100 Subject: [PATCH] Generate elm-doc in CI on master --- .github/workflows/ci.yml | 16 ++++++++++++++++ .github/workflows/run-npm.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d8a4a8..247296a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,22 @@ jobs: with: npm-script: doc + doc: + runs-on: ubuntu-latest + needs: build-doc + steps: + - uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + pip install elm-doc + - name: Generate docs + run: elm-doc . --output docs --fake-license 'SPDX license name' + # publish: # runs-on: ubuntu-latest # steps: diff --git a/.github/workflows/run-npm.yml b/.github/workflows/run-npm.yml index 59a9ba8..771909c 100644 --- a/.github/workflows/run-npm.yml +++ b/.github/workflows/run-npm.yml @@ -16,7 +16,7 @@ jobs: dependencies: runs-on: ${{ inputs.runs-on }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js 24 uses: actions/setup-node@v6 with: