Skip to content

Merge pull request #1915 from sul-dlss/update-dependencies #618

Merge pull request #1915 from sul-dlss/update-dependencies

Merge pull request #1915 from sul-dlss/update-dependencies #618

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
strategy:
matrix:
ruby: ['3.2']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and dependencies
uses: ruby/[email protected]
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Install JS dependencies
run: yarn install --frozen-lockfile
- name: Set up the database
run: bin/rails db:test:prepare
- name: Run CI rake task
run: RAILS_ENV=test NODE_ENV=development bin/rake ci