Add github actions to landing-page-jest branch. And run jest tests

pull/1/head
rebuilt 4 years ago
parent 809e931b3c
commit bc8adec408

@ -2,7 +2,7 @@ name: Build and Test
on:
push:
branches: [ main ]
branches: [ main, landing-page-jest ]
jobs:
test:
@ -35,9 +35,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies
- name: Install rails dependencies
run: bundle install
- name: Create DB
run: bundle exec rake db:test:prepare
- name: Run tests
run: bundle exec rake
- name: Install javascript dependencies
run: yarn install
- name: Run javascript tests
run: yarn test

Loading…
Cancel
Save