Skip to content

fix: update package.json and package-lock.json #13

fix: update package.json and package-lock.json

fix: update package.json and package-lock.json #13

Workflow file for this run

# .github/workflows/test.yml
name: Ruby Gem Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true # Cache the gems for faster builds
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: coverage/