diff options
Diffstat (limited to 'vendor/twbs/bootstrap/.github/workflows/docs.yml')
-rw-r--r-- | vendor/twbs/bootstrap/.github/workflows/docs.yml | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/vendor/twbs/bootstrap/.github/workflows/docs.yml b/vendor/twbs/bootstrap/.github/workflows/docs.yml index cc5f4bd6d..f33413eb4 100644 --- a/vendor/twbs/bootstrap/.github/workflows/docs.yml +++ b/vendor/twbs/bootstrap/.github/workflows/docs.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: docs: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm @@ -29,5 +30,16 @@ jobs: - name: Install npm dependencies run: npm ci - - name: Test docs - run: npm run docs + - name: Build docs + run: npm run docs-build + + - name: Validate HTML + run: npm run docs-vnu + + - name: Run linkinator + uses: JustinBeckwith/linkinator-action@v1 + with: + paths: _site + recurse: true + verbosity: error + skip: "^(?!http://localhost)" |