File tree Expand file tree Collapse file tree 4 files changed +767
-560
lines changed Expand file tree Collapse file tree 4 files changed +767
-560
lines changed Original file line number Diff line number Diff line change 33name : Node.js CI
44
55on :
6- push :
7- branches : [ "main" ]
8- pull_request :
9- branches : [ "main" ]
6+ - push
7+ - pull_request
108
119jobs :
1210 build :
1513
1614 strategy :
1715 matrix :
18- # Old infra requires Node 10
19- node-version : [10.x, 18.x]
16+ node-version : [18.x, 20.x]
2017
2118 steps :
2219 - name : Install xmllint
Original file line number Diff line number Diff line change 1515
1616jobs :
1717 spider-check :
18+ if : ${{ github.repository_owner == 'jquery' }} # skip on forks
1819 env :
1920 MY_SITE : https://api.jquery.com
2021 runs-on : ubuntu-latest
21- if : ${{ github.repository_owner == 'jquery' }} # skip on forks
22+ env :
23+ # Site address to crawl
24+ MY_SITE : https://api.jquery.com
2225 steps :
23- - name : Checkout hydra-link-checker
24- uses : actions/checkout@v3
25- with :
26- repository : jquery/hydra-link-checker
27- ref : v2.0.0
28- path : hydra
29-
30- # Checkout the API repo as well to provide the config for hydra-link-checker
31- - name : Checkout API repo
26+ - name : Checkout repo
3227 uses : actions/checkout@v3
33- with :
34- path : api
3528
3629 - name : Run hydra-link-checker
37- run : python3 hydra/hydra.py "$MY_SITE" --config api/.github/configs/hydra-config.json
30+ run : |
31+ curl -O https://raw.githubusercontent.com/jquery/hydra-link-checker/v2.0.0/hydra.py
32+ python3 hydra.py "$MY_SITE" --config .github/configs/hydra-config.json
You can’t perform that action at this time.
0 commit comments