This repository was archived by the owner on Jun 26, 2023. It is now read-only.
File tree 2 files changed +67
-40
lines changed
2 files changed +67
-40
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ check :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - run : yarn
16
+ - run : yarn lint
17
+ - run : yarn build
18
+ - uses : gozala/typescript-error-reporter-action@v1.0.4
19
+ - run : yarn aegir dep-check -- -i aegir
20
+ - uses : ipfs/aegir/actions/bundle-size@master
21
+ name : size
22
+ with :
23
+ github_token : ${{ secrets.GITHUB_TOKEN }}
24
+ test-node :
25
+ needs : check
26
+ runs-on : ${{ matrix.os }}
27
+ strategy :
28
+ matrix :
29
+ os : [windows-latest, ubuntu-latest, macos-latest]
30
+ node : [12, 14]
31
+ fail-fast : true
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+ - uses : actions/setup-node@v1
35
+ with :
36
+ node-version : ${{ matrix.node }}
37
+ - run : yarn
38
+ - run : npx nyc --reporter=lcov npm run test:node -- --bail
39
+ - uses : codecov/codecov-action@v1
40
+ test-chrome :
41
+ needs : check
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v2
45
+ - run : yarn
46
+ - run : yarn aegir test -t browser -t webworker
47
+ test-firefox :
48
+ needs : check
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - uses : actions/checkout@v2
52
+ - run : yarn
53
+ - run : yarn aegir test -t browser -t webworker -- --browsers FirefoxHeadless
54
+ test-electron-main :
55
+ needs : check
56
+ runs-on : ubuntu-latest
57
+ steps :
58
+ - uses : actions/checkout@v2
59
+ - run : yarn
60
+ - run : npx xvfb-maybe yarn aegir test -t electron-main --bail
61
+ test-electron-renderer :
62
+ needs : check
63
+ runs-on : ubuntu-latest
64
+ steps :
65
+ - uses : actions/checkout@v2
66
+ - run : yarn
67
+ - run : npx xvfb-maybe yarn aegir test -t electron-renderer --bail
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments