Skip to content

Add GitHub Actions workflow for building the project #12

Add GitHub Actions workflow for building the project

Add GitHub Actions workflow for building the project #12

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- run: |
bin/rails db:prepare
bin/rails test test/unit/news_test.rb
bin/rails test test/system/my_page_test.rb