Skip to content

Merge pull request #9 from White-Green/nodejs-versions #35

Merge pull request #9 from White-Green/nodejs-versions

Merge pull request #9 from White-Green/nodejs-versions #35

Workflow file for this run

name: Ruby CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3', '3.2', '3.1']
node-version: ['16', '18', '20', '22']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake