Skip to content

Commit 1d37029

Browse files
committed
Use Gemfile to manage html-proofer install
1 parent 9cc343a commit 1d37029

File tree

3 files changed

+108
-13
lines changed

3 files changed

+108
-13
lines changed

.circleci/config.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ executors:
1818

1919
ruby_executor:
2020
docker:
21-
- image: cimg/ruby:3.4
21+
- image: cimg/ruby:3.4.5
2222
working_directory: ~/project
2323

2424
commands:
@@ -59,10 +59,7 @@ jobs:
5959
- "SHA256:Plac654CPBty6yA26H7QMKCqM0yD1XWds7UwNqOYzJU"
6060
- run:
6161
name: Install Node Dependencies
62-
command: |
63-
set -e
64-
echo "[INFO] Installing Node dependencies..."
65-
npm ci
62+
command: npm ci
6663
- run:
6764
name: Build the Documentation Site with Antora
6865
command: |
@@ -82,19 +79,15 @@ jobs:
8279
validate:
8380
executor: ruby_executor
8481
steps:
82+
- checkout
8583
- attach_workspace:
8684
at: .
8785
- run:
88-
name: Install HTML Proofer
89-
command: |
90-
set -e
91-
echo "[INFO] Installing HTML Proofer gem..."
92-
sudo gem install html-proofer
86+
name: Dependencies
87+
command: bundle install
9388
- run:
94-
name: Run HTML Proofer Validation
89+
name: html-proofer
9590
command: |
96-
set -e
97-
echo "[INFO] Validating built site with HTML Proofer..."
9891
# Handle path prefix and ignore search template placeholders
9992
htmlproofer ./build \
10093
--ignore-empty-alt \

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ruby "3.4.5"
2+
3+
source "https://rubygems.org"
4+
5+
gem 'html-proofer'

Gemfile.lock

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
Ascii85 (2.0.1)
5+
addressable (2.8.7)
6+
public_suffix (>= 2.0.2, < 7.0)
7+
afm (0.2.2)
8+
async (2.27.2)
9+
console (~> 1.29)
10+
fiber-annotation
11+
io-event (~> 1.11)
12+
metrics (~> 0.12)
13+
traces (~> 0.15)
14+
bigdecimal (3.2.2)
15+
console (1.33.0)
16+
fiber-annotation
17+
fiber-local (~> 1.1)
18+
json
19+
ethon (0.16.0)
20+
ffi (>= 1.15.0)
21+
ffi (1.17.2-aarch64-linux-gnu)
22+
ffi (1.17.2-aarch64-linux-musl)
23+
ffi (1.17.2-arm-linux-gnu)
24+
ffi (1.17.2-arm-linux-musl)
25+
ffi (1.17.2-arm64-darwin)
26+
ffi (1.17.2-x86_64-darwin)
27+
ffi (1.17.2-x86_64-linux-gnu)
28+
ffi (1.17.2-x86_64-linux-musl)
29+
fiber-annotation (0.2.0)
30+
fiber-local (1.1.0)
31+
fiber-storage
32+
fiber-storage (1.0.1)
33+
hashery (2.1.2)
34+
html-proofer (5.0.10)
35+
addressable (~> 2.3)
36+
async (~> 2.1)
37+
nokogiri (~> 1.13)
38+
pdf-reader (~> 2.11)
39+
rainbow (~> 3.0)
40+
typhoeus (~> 1.3)
41+
yell (~> 2.0)
42+
zeitwerk (~> 2.5)
43+
io-event (1.12.1)
44+
json (2.13.2)
45+
metrics (0.13.0)
46+
nokogiri (1.18.9-aarch64-linux-gnu)
47+
racc (~> 1.4)
48+
nokogiri (1.18.9-aarch64-linux-musl)
49+
racc (~> 1.4)
50+
nokogiri (1.18.9-arm-linux-gnu)
51+
racc (~> 1.4)
52+
nokogiri (1.18.9-arm-linux-musl)
53+
racc (~> 1.4)
54+
nokogiri (1.18.9-arm64-darwin)
55+
racc (~> 1.4)
56+
nokogiri (1.18.9-x86_64-darwin)
57+
racc (~> 1.4)
58+
nokogiri (1.18.9-x86_64-linux-gnu)
59+
racc (~> 1.4)
60+
nokogiri (1.18.9-x86_64-linux-musl)
61+
racc (~> 1.4)
62+
pdf-reader (2.14.1)
63+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
64+
afm (~> 0.2.1)
65+
hashery (~> 2.0)
66+
ruby-rc4
67+
ttfunk
68+
public_suffix (6.0.2)
69+
racc (1.8.1)
70+
rainbow (3.1.1)
71+
ruby-rc4 (0.1.5)
72+
traces (0.16.2)
73+
ttfunk (1.8.0)
74+
bigdecimal (~> 3.1)
75+
typhoeus (1.4.1)
76+
ethon (>= 0.9.0)
77+
yell (2.2.2)
78+
zeitwerk (2.7.3)
79+
80+
PLATFORMS
81+
aarch64-linux-gnu
82+
aarch64-linux-musl
83+
arm-linux-gnu
84+
arm-linux-musl
85+
arm64-darwin
86+
x86_64-darwin
87+
x86_64-linux-gnu
88+
x86_64-linux-musl
89+
90+
DEPENDENCIES
91+
html-proofer
92+
93+
RUBY VERSION
94+
ruby 3.4.5p51
95+
96+
BUNDLED WITH
97+
2.6.9

0 commit comments

Comments
 (0)