@@ -13,10 +13,10 @@ jobs:
13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
- run : npm install
16
- - run : npm run lint
17
-
18
- - run : npm run build
19
- - run : yarn aegir dep-check
16
+ - run : npx aegir lint
17
+ - run : npx aegir ts -p 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 :
@@ -51,94 +51,17 @@ jobs:
51
51
- uses : actions/checkout@v2
52
52
- run : npm install
53
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 : npm install
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 :
54
+ test-ts :
62
55
needs : check
63
56
runs-on : ubuntu-latest
64
57
steps :
65
58
- uses : actions/checkout@v2
66
59
- run : npm install
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 : npm install
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 : npm install
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 : npm install
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 : npm install
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 : npm install
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 : npm install
109
- - run : cd examples && yarn && npm run test -- peer-and-content-routing
110
- test-pnet-example :
111
- needs : check
112
- runs-on : ubuntu-latest
113
- steps :
114
- - uses : actions/checkout@v2
115
- - run : npm install
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 : npm install
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 : npm install
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 : npm install
137
- - run : cd examples && yarn && npm run test -- transports
138
- test-webrtc-direct-example :
60
+ - run : npx aegir 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
66
- run : npm install
144
- - run : cd examples && yarn && npm run test -- webrtc-direct
67
+ - run : cd node_modules/interop-libp2p && yarn && LIBP2P_JS=${GITHUB_WORKSPACE}/src/index.js npx aegir test -t node --bail
0 commit comments