Run tests #184
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |