File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Run Tests (Node Minimum Version)
3+
4+ on : [push, pull_request]
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : actions/setup-node@v3
12+ with :
13+ node-version : 20
14+ registry-url : https://registry.npmjs.org/
15+ - name : Install dependencies
16+ run : npm ci
17+ - name : Run linter
18+ run : npm run lint
19+ - name : Run tests
20+ run : npm run test:ci
Original file line number Diff line number Diff line change 1+ ---
2+ name : Run Tests
3+
4+ on : [push, pull_request]
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : actions/setup-node@v3
12+ with :
13+ node-version : ' lts/*'
14+ registry-url : https://registry.npmjs.org/
15+ - name : Install dependencies
16+ run : npm ci
17+ - name : Run linter
18+ run : npm run lint
19+ - name : Run tests
20+ run : npm run test:ci
21+ test-browser :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v3
25+ - uses : actions/setup-node@v3
26+ with :
27+ node-version : ' lts/*'
28+ registry-url : https://registry.npmjs.org/
29+ - name : Install dependencies
30+ run : npm ci
31+ - name : Run linter
32+ run : npm run lint
33+ - name : Run a webrtc relay in the background
34+ run : npm run webrtc:background
35+ - name : Run browser tests
36+ run : npm run test:browser
You can’t perform that action at this time.
0 commit comments