Skip to content

Merge pull request #1825 from sul-dlss/update-dependencies #434

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

Merge pull request #1825 from sul-dlss/update-dependencies #434

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@v3
- 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