test 01 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check links of plain md files" | |
on: | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install prerequisites | |
run: | | |
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\ | |
sudo apt-get install -y nodejs | |
- name: Install tools | |
run: | | |
npm install -g @umbrelladocs/linkspector | |
- name: Verify linkspector config | |
run: | | |
cat .linkspector.yml | |
- name: run linkspector | |
run: | | |
linkspector check -c .linkspector.yml |