-
Notifications
You must be signed in to change notification settings - Fork 56
38 lines (36 loc) · 1.11 KB
/
test.yml
File metadata and controls
38 lines (36 loc) · 1.11 KB
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
name: Test Code
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest # Firefox in it
strategy:
matrix:
node-version: [22.14.0]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
- name: npm registry connectivity debug
run: npm ping --registry=https://registry.npmjs.org
- run: yarn 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