@@ -12,11 +12,11 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - run : yarn
16
- - run : yarn lint
15
+ - run : npm install
16
+ - run : npx aegir lint
17
17
18
- - run : yarn build
19
- - run : yarn aegir dep-check
18
+ - run : npx aegir build
19
+ - run : npx aegir dep-check
20
20
- uses : ipfs/aegir/actions/bundle-size@master
21
21
name : size
22
22
with :
@@ -34,111 +34,34 @@ jobs:
34
34
- uses : actions/setup-node@v1
35
35
with :
36
36
node-version : ${{ matrix.node }}
37
- - run : yarn
38
- - run : npx nyc --reporter=lcov aegir test -t node -- --bail
37
+ - run : npm install
38
+ - run : npx aegir test -t node --cov --bail
39
39
- uses : codecov/codecov-action@v1
40
40
test-chrome :
41
41
needs : check
42
42
runs-on : ubuntu-latest
43
43
steps :
44
44
- uses : actions/checkout@v2
45
- - run : yarn
45
+ - run : npm install
46
46
- run : npx aegir test -t browser -t webworker --bail
47
47
test-firefox :
48
48
needs : check
49
49
runs-on : ubuntu-latest
50
50
steps :
51
51
- uses : actions/checkout@v2
52
- - run : yarn
53
- - run : npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
54
- test-interop :
55
- needs : check
56
- runs-on : ubuntu-latest
57
- steps :
58
- - uses : actions/checkout@v2
59
- - run : yarn
60
- - run : cd node_modules/interop-libp2p && yarn && LIBP2P_JS=${GITHUB_WORKSPACE}/src/index.js npx aegir test -t node --bail
61
- test-auto-relay-example :
62
- needs : check
63
- runs-on : ubuntu-latest
64
- steps :
65
- - uses : actions/checkout@v2
66
- - run : yarn
67
- - run : cd examples && yarn && npm run test -- auto-relay
68
- test-chat-example :
69
- needs : check
70
- runs-on : ubuntu-latest
71
- steps :
72
- - uses : actions/checkout@v2
73
- - run : yarn
74
- - run : cd examples && yarn && npm run test -- chat
75
- test-connection-encryption-example :
76
- needs : check
77
- runs-on : ubuntu-latest
78
- steps :
79
- - uses : actions/checkout@v2
80
- - run : yarn
81
- - run : cd examples && yarn && npm run test -- connection-encryption
82
- test-discovery-mechanisms-example :
83
- needs : check
84
- runs-on : macos-latest
85
- steps :
86
- - uses : actions/checkout@v2
87
- - run : yarn
88
- - run : cd examples && yarn && npm run test -- discovery-mechanisms
89
- test-echo-example :
90
- needs : check
91
- runs-on : ubuntu-latest
92
- steps :
93
- - uses : actions/checkout@v2
94
- - run : yarn
95
- - run : cd examples && yarn && npm run test -- echo
96
- test-libp2p-in-the-browser-example :
97
- needs : check
98
- runs-on : macos-latest
99
- steps :
100
- - uses : actions/checkout@v2
101
- - run : yarn
102
- - run : cd examples && yarn && npm run test -- libp2p-in-the-browser
103
- test-peer-and-content-routing-example :
104
- needs : check
105
- runs-on : ubuntu-latest
106
- steps :
107
- - uses : actions/checkout@v2
108
- - run : yarn
109
- - run : cd examples && yarn && npm run test -- peer-and-content-routing
110
- test-pnet-example :
52
+ - run : npm install
53
+ - run : npx aegir test -t browser -t webworker --bail -- --browser firefox
54
+ test-ts :
111
55
needs : check
112
56
runs-on : ubuntu-latest
113
57
steps :
114
58
- uses : actions/checkout@v2
115
- - run : yarn
116
- - run : cd examples && yarn && npm run test -- pnet
117
- test-protocol-and-stream-muxing-example :
118
- needs : check
119
- runs-on : ubuntu-latest
120
- steps :
121
- - uses : actions/checkout@v2
122
- - run : yarn
123
- - run : cd examples && yarn && npm run test -- protocol-and-stream-muxing
124
- test-pubsub-example :
125
- needs : check
126
- runs-on : ubuntu-latest
127
- steps :
128
- - uses : actions/checkout@v2
129
- - run : yarn
130
- - run : cd examples && yarn && npm run test -- pubsub
131
- test-transports-example :
132
- needs : check
133
- runs-on : ubuntu-latest
134
- steps :
135
- - uses : actions/checkout@v2
136
- - run : yarn
137
- - run : cd examples && yarn && npm run test -- transports
138
- test-webrtc-direct-example :
59
+ - run : npm install
60
+ - run : npm run test:ts
61
+ test-interop :
139
62
needs : check
140
63
runs-on : ubuntu-latest
141
64
steps :
142
65
- uses : actions/checkout@v2
143
- - run : yarn
144
- - run : cd examples && yarn && npm run test -- webrtc-direct
66
+ - run : npm install
67
+ - run : cd node_modules/interop-libp2p && yarn && LIBP2P_JS=${GITHUB_WORKSPACE}/src/index.js npx aegir test -t node --bail
0 commit comments