mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add github actions to landing-page-jest branch. And run jest tests
This commit is contained in:
parent
809e931b3c
commit
bc8adec408
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build-and-test.yml
vendored
8
.github/workflows/build-and-test.yml
vendored
|
|
@ -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…
Add table
Add a link
Reference in a new issue