Skip to content

Install Ruby before checking format #34

Install Ruby before checking format

Install Ruby before checking format #34

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2']
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 🖲
uses: actions/setup-node@v2.4.0
with:
node-version: 20.x
check-latest: true
- run: npm ci
- name: Setup Ruby 💎
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Check formatting 🔍
run: npm run lint
- name: Run tests ⚙️
run: bundle exec rake
- name: Coverage 📊
uses: coverallsapp/github-action@v2