@@ -12,13 +12,14 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - run : yarn
16
- - run : yarn lint
17
-
18
- # - run: yarn build
19
- - run : yarn aegir dep-check
15
+ - run : npm install
16
+ - run : npx aegir lint
17
+ - run : npx aegir ts -p check
18
+ # or
19
+ # - uses: gozala/[email protected]
20
+ # - run: npx aegir build
21
+ - run : npx aegir dep-check
20
22
# - uses: ipfs/aegir/actions/bundle-size@master
21
- # name: size
22
23
# with:
23
24
# github_token: ${{ secrets.GITHUB_TOKEN }}
24
25
test-node :
@@ -34,34 +35,45 @@ jobs:
34
35
- uses : actions/setup-node@v1
35
36
with :
36
37
node-version : ${{ matrix.node }}
37
- - run : yarn
38
- - run : npx nyc --reporter=lcov aegir test -t node -- --bail
38
+ - run : npm install
39
+ - run : npx aegir test -t node --bail --cov
39
40
- uses : codecov/codecov-action@v1
40
41
test-chrome :
41
42
needs : check
42
43
runs-on : ubuntu-latest
43
44
steps :
44
45
- uses : actions/checkout@v2
45
- - run : yarn
46
- - run : npx aegir test -t browser -t webworker --bail
46
+ - uses : microsoft/playwright-github-action@v1
47
+ - run : npm install
48
+ - run : npx aegir test -t browser -t webworker --bail --cov
49
+ - uses : codecov/codecov-action@v1
47
50
test-firefox :
48
51
needs : check
49
52
runs-on : ubuntu-latest
50
53
steps :
51
54
- uses : actions/checkout@v2
52
- - run : yarn
53
- - run : npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
55
+ - uses : microsoft/playwright-github-action@v1
56
+ - run : npm install
57
+ - run : npx aegir test -t browser -t webworker --bail -- --browser firefox
58
+ test-webkit :
59
+ needs : check
60
+ runs-on : ubuntu-latest
61
+ steps :
62
+ - uses : actions/checkout@v2
63
+ - uses : microsoft/playwright-github-action@v1
64
+ - run : npm install
65
+ - run : npx aegir test -t browser -t webworker --bail -- --browser webkit
54
66
test-electron-main :
55
67
needs : check
56
68
runs-on : ubuntu-latest
57
69
steps :
58
70
- uses : actions/checkout@v2
59
- - run : yarn
71
+ - run : npm install
60
72
- run : npx xvfb-maybe aegir test -t electron-main --bail
61
73
test-electron-renderer :
62
74
needs : check
63
75
runs-on : ubuntu-latest
64
76
steps :
65
77
- uses : actions/checkout@v2
66
- - run : yarn
78
+ - run : npm install
67
79
- run : npx xvfb-maybe aegir test -t electron-renderer --bail
0 commit comments