Skip to content

ci: test on GH actions #1

ci: test on GH actions

ci: test on GH actions #1

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
strategy:
matrix:
ruby: [3.1, 3.2, 3.3]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v4
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run tests
run: bundle exec rspec spec