Skip to content

Fix bootstrap JS hash #117

Fix bootstrap JS hash

Fix bootstrap JS hash #117

name: Vendor Dependency Testing
on:
push:
paths:
- 'assets/js/vendor/**'
- 'assets/fonts/katex/**'
- 'assets/fonts/font-awesome/**'
- '_sass/external/katex/**'
- '_sass/external/font-awesome/**'
- '_sass/external/_font-awesome.scss'
- '_includes/default/head.liquid'
- '.github/cli/src/validators/**'
pull_request:
paths:
- 'assets/js/vendor/**'
- 'assets/fonts/katex/**'
- 'assets/fonts/font-awesome/**'
- '_sass/external/katex/**'
- '_sass/external/font-awesome/**'
- '_sass/external/_font-awesome.scss'
- '_includes/default/head.liquid'
- '.github/cli/src/validators/**'
workflow_dispatch:
jobs:
test-vendor-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Validate vendor dependencies
run: npm run validate
- name: Test Jekyll build
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Build site
run: bundle exec jekyll build --verbose
- name: Check for build warnings
run: |
if bundle exec jekyll build 2>&1 | grep -i "warning\|error"; then
echo "⚠️ Build warnings/errors detected"
echo "This may indicate issues with vendor updates"
else
echo "✅ No build warnings/errors"
fi
- name: Verify asset generation
run: |
echo "Checking generated assets..."
ls -la _site/assets/js/vendor/
ls -la _site/assets/fonts/katex/ | head -10
ls -la _site/assets/fonts/font-awesome/
echo "File sizes:"
ls -lh _site/assets/js/vendor/*.js
- name: Test production build
run: |
JEKYLL_ENV=production bundle exec jekyll build
echo "✅ Production build successful"