Attempt moving jest tests to github action

This commit is contained in:
Dannon Baker
2020-08-31 15:21:19 -04:00
parent 7d611ae2e3
commit 9742e913ae
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ jobs:
command: cd client && yarn run build
environment:
NODE_OPTIONS: --max_old_space_size=4096
- run: cd client && yarn run test
- run: cd client && yarn run qunit
js_lint:
docker:
- image: circleci/node:12-browsers
+18
View File
@@ -0,0 +1,18 @@
name: Client Unit Tests (Jest)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
working-directory: client
- run: yarn jest
working-directory: client