Skip to content

Commit 20c8925

Browse files
Dale KunceDale Kunce
authored andcommitted
fix: Update GitHub Actions workflow for correct Ruby and Node versions
- Fix Ruby version from 3.0 to 3.3.5 to match .ruby-version file - Update Node.js version to 20.18.0 to match .nvmrc file - Update action versions to v4 for better compatibility - Add explicit Jekyll build config parameter - Add executable permission for test script - Improve debugging with version verification step This should resolve the gem installation failure in CI.
1 parent 59fe3e9 commit 20c8925

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/test-multilingual.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,35 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup Ruby
1717
uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: '3.0'
19+
ruby-version: '3.3.5'
2020
bundler-cache: true
21+
cache-version: 1
2122

2223
- name: Setup Node.js
23-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2425
with:
25-
node-version: '18'
26+
node-version: '20.18.0'
2627
cache: 'npm'
2728

28-
- name: Install dependencies
29+
- name: Install Node dependencies
30+
run: npm ci
31+
32+
- name: Verify Ruby and Bundle setup
2933
run: |
30-
bundle install
31-
npm install
34+
ruby --version
35+
bundle --version
36+
bundle list
3237
3338
- name: Run Jekyll build
34-
run: bundle exec jekyll build
39+
run: bundle exec jekyll build --config _config.yml
3540

3641
- name: Run multilingual tests
37-
run: ./test-multilingual.sh
42+
run: chmod +x ./test-multilingual.sh && ./test-multilingual.sh
3843

3944
- name: Check for broken links (sample)
4045
run: |

0 commit comments

Comments
 (0)