Skip to content

Update nio4r

Update nio4r #2042

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- '*'
push:
branches:
- main
jobs:
javascript_test:
name: JavaScript Test Action
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Setup Node v${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Yarn install
run: yarn
- name: Run JavaScript Tests
run: yarn run test
ruby_test:
name: Ruby Test Action
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', 3.1, 3.2, 3.3]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby v${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run ruby tests
run: bundle exec rake test_ruby