Skip to content

feat: Modernize internationalization system with Jekyll Polyglot #1

feat: Modernize internationalization system with Jekyll Polyglot

feat: Modernize internationalization system with Jekyll Polyglot #1

name: Jekyll Polyglot Multilingual Tests
on:
push:
branches: [ main, modernize-2025 ]
pull_request:
branches: [ main ]
jobs:
test-multilingual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: |
bundle install
npm install
- name: Run Jekyll build
run: bundle exec jekyll build
- name: Run multilingual tests
run: ./test-multilingual.sh
- name: Check for broken links (sample)
run: |
# Basic link verification for main pages
for lang in "" "fr/" "es/" "cs/"; do
echo "Checking ${lang:-en} pages..."
if [ -f "_site/${lang}about/index.html" ]; then
echo "✅ ${lang:-en}about page exists"
else
echo "❌ ${lang:-en}about page missing"
exit 1
fi
done