Skip to content

Commit 595d299

Browse files
authored
fix: separate html-proofer gem from Gemfile (#73)
* fix: separate html-proofer gem from Gemfile * debug: remove .ruby-version (w/netlify changes) Netlify config changes: - jekyll build -> bundle exec jekyll build - update node version to 20.x (from 10.x) * Revert "debug: remove .ruby-version (w/netlify changes)" This reverts commit 3f0d091. * bundle, not gem * debug: try ruby 3.3.3 * debug: bundle process
1 parent 84e8c9f commit 595d299

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: htmlproofer
2+
3+
# Validates all links are up to date on the website
4+
25
on:
36
push:
47
branches:
@@ -11,7 +14,7 @@ on:
1114

1215
jobs:
1316
checklinks:
14-
name: Linux
17+
name: Check links
1518
runs-on: ubuntu-latest
1619
strategy:
1720
fail-fast: false
@@ -23,10 +26,11 @@ jobs:
2326
run: |
2427
gem update --system --no-document
2528
gem update bundler --no-document
26-
gem install jekyll bundler
2729
bundle install
2830
- name: build jekyll
2931
run: bundle exec jekyll build
3032
- name: htmlproofer
3133
run: |
34+
bundle add html-proofer
35+
bundle install
3236
bundle exec htmlproofer ./_site

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.4
1+
3.3.3

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
source "https://rubygems.org"
22
gem 'github-pages', group: :jekyll_plugins
3-
gem 'html-proofer'

0 commit comments

Comments
 (0)