diff --git a/.circleci/config.yml b/.circleci/config.yml index 41907c14400..c4545192e9b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.github/workflows/client.yaml b/.github/workflows/client.yaml new file mode 100644 index 00000000000..c697697c893 --- /dev/null +++ b/.github/workflows/client.yaml @@ -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 \ No newline at end of file