Skip to content

Commit 52f94a1

Browse files
committed
Build: grunt-jquery-content 3.3.1, gilded-wordpress 1.0.7, Node 18+
Closes #1119
1 parent 0b212a8 commit 52f94a1

File tree

4 files changed

+767
-560
lines changed

4 files changed

+767
-560
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
name: Node.js CI
44

55
on:
6-
push:
7-
branches: [ "main" ]
8-
pull_request:
9-
branches: [ "main" ]
6+
- push
7+
- pull_request
108

119
jobs:
1210
build:
@@ -15,8 +13,7 @@ jobs:
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

.github/workflows/spider-check.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,18 @@ on:
1515

1616
jobs:
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

0 commit comments

Comments
 (0)