-
Notifications
You must be signed in to change notification settings - Fork 17
42 lines (41 loc) · 1.12 KB
/
run-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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