Skip to content

Introduce use_context to inject mini_racer #40

Introduce use_context to inject mini_racer

Introduce use_context to inject mini_racer #40

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
strategy:
fail-fast: false
matrix:
ruby: ["3.3", "3.2", "3.1"]
version: ["7.0", "7.1", "7.2", "8.0"]
exclude:
- ruby: 3.1
version: 8.0
runs-on: 'ubuntu-latest'
env:
ARUBA_TIMEOUT: 240
BUNDLE_GEMFILE: gemfiles/rails${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup project
run: |
npm install -g yarn
yarn install
bundle install
- name: Run test
run: bundle exec rspec