Skip to content

Run tests

Run tests #194

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 14.15.4
- name: install
run: npm install
- name: lint
run: npm run lint
- name: test
run: npm run coverage
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# e2e:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/[email protected]
# with:
# node-version: 14.15.4
# - uses: microsoft/[email protected]
# - run: npm install
# - name: install packages
# run: npm run e2e:pre-install
# - name: build grid
# run: npm run e2e:pre-build
# - name: run tests
# run: npm run e2e:headless
# - name: Archive logs
# if: ${{ failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: e2e log
# path: test/e2e/log