mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-05 04:14:51 +00:00
ci(links): added link checking to docs
This commit is contained in:
parent
77477eef19
commit
ad89dbce17
1 changed files with 21 additions and 0 deletions
21
.github/workflows/linkcheck.yaml
vendored
Normal file
21
.github/workflows/linkcheck.yaml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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:ci
|
||||
|
||||
- uses: untitaker/hyperlink@0.1.26
|
||||
with:
|
||||
args: docs/_site/
|
||||
Loading…
Reference in a new issue