Skip to content

Import dependencies only when needed (#389) #1262

Import dependencies only when needed (#389)

Import dependencies only when needed (#389) #1262

Workflow file for this run

name: Cypress Tests
on: push
jobs:
cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run migrations
run: bin/rails db:migrate RAILS_ENV=development
- name: Install foreman gem
run: gem install foreman
- name: Install yarn and build
run: |
npm install -g yarn
yarn install
- name: Precompile assets
run: bin/rails app:assets:precompile
- name: Start server and run tests
run: foreman start -f Procfile.dev