-
Notifications
You must be signed in to change notification settings - Fork 56
36 lines (34 loc) · 1 KB
/
test.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
name: Test Code
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest # Firefox in it
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: DEBUG=eslint:cli-engine npm run lint:all
- run: npm run build
- run: npm run test:browser
- run: npm run test:coverage
- run: cat */coverage/lcov.info
- name: Coveralls SDK
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./sdk
flag-name: sdk
parallel: true
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true