Skip to content

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80) #131

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80)

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80) #131

Workflow file for this run

name: CheckLinks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checklinks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 3.1
- name: Setup Jekyll
run: |
gem install jekyll
bundle install
- name: Build jekyll website with drafts
run: bundle exec jekyll build --drafts
- name: Check for broken links
run: |
bundle exec htmlproofer --log-level :debug ./_site &> links.log
continue-on-error: true
- name: Archive log links
uses: actions/upload-artifact@v3
with:
name: links-check.log
path: links.log