name: Linkcheck
on: [push]
jobs:
  linkcheck:
    name: Linkcheck
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-node@v3
      with:
        node-version: 18.x

    - name: npm install, build
      run: |
        cd docs
        npm install
        npm run build

    - uses: untitaker/hyperlink@0.1.27
      with:
        args: docs/_site/
