diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a17a8eb7a..7c95531e0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,10 +31,13 @@ jobs: token: ${{ secrets.PROJECT_READ_TOKEN }} persist-credentials: false - - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - + # The board's stable build interface; its internals may change upstream. - name: Build Open Question Board - run: uv run --project open-questions-source/website --locked python open-questions-source/website/build.py + uses: ./open-questions-source + with: + output: open-questions-board + + - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: @@ -67,7 +70,7 @@ jobs: - name: Build and verify deployment artifact run: | uv run --python 3.12.14 --no-project --with-requirements scripts/website-requirements.txt python -m playwright install --with-deps chromium firefox webkit - uv run --python 3.12.14 --no-project --with-requirements scripts/website-requirements.txt python scripts/check_website.py --output book --open-questions open-questions-source/website/dist + uv run --python 3.12.14 --no-project --with-requirements scripts/website-requirements.txt python scripts/check_website.py --output book --open-questions open-questions-board npm audit --audit-level=moderate git diff --exit-code -- Cargo.lock package-lock.json