Merge pull request #1826 from sul-dlss/update-dependencies #437
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |