Skip to content

feat(ci): run mdbook on pull requests #109

feat(ci): run mdbook on pull requests

feat(ci): run mdbook on pull requests #109

Workflow file for this run

name: mdbook
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
MDBOOK_VERSION: 0.4.21
MDBOOK_ALERTS_VERSION: 0.6.7
MDBOOK_LINKCHECK_VERSION: 0.7.7
PUBLISH_DOMAIN: component-model.bytecodealliance.org
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@v2
with:
tool: >-
mdbook@${MDBOOK_VERSION},
mdbook-alerts@${MDBOOK_ALERTS_VERSION},
mdbook-linkcheck@${MDBOOK_LINKCHECK_VERSION}
- name: Build with mdBook
run: mdbook build component-model