Skip to content

update ruby and nodejs in CI #119

update ruby and nodejs in CI

update ruby and nodejs in CI #119

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
middleman:
runs-on: ubuntu-latest
steps:
- name: Fetch repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '23.x'
- name: Install JS dependencies
run: npm install
- name: Update dynamic data
run: bundle exec ./update.rb
- name: Compile
env:
# FIXME: workaround for Webpack < 5.61 on NodeJS > 16 and OpenSSL 3
# error:0308010C:digital envelope routines::unsupported
NODE_OPTIONS: --openssl-legacy-provider
run: bundle exec middleman build