File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ executors:
43
43
working_directory : ~/ipfs/go-ipfs
44
44
environment :
45
45
<< : *default_environment
46
+ node-browsers :
47
+ docker :
48
+ - image : circleci/node:10-browsers
49
+ working_directory : ~/ipfs/go-ipfs
50
+ environment :
51
+ << : *default_environment
52
+ NO_SANDBOX : true
46
53
47
54
jobs :
48
55
gobuild :
@@ -255,6 +262,41 @@ jobs:
255
262
paths :
256
263
- ~/go/pkg/mod
257
264
- ~/.cache/go-build/
265
+ ipfs-webui :
266
+ executor : node-browsers
267
+ steps :
268
+ - *make_out_dirs
269
+ - attach_workspace :
270
+ at : /tmp/circleci-workspace
271
+ - run :
272
+ name : Cloning
273
+ command : |
274
+ git clone https://github.com/ipfs-shipyard/ipfs-webui.git
275
+ git -C ipfs-webui checkout "fix/test-external" || true
276
+ git -C ipfs-webui log -1
277
+ - restore_cache :
278
+ keys :
279
+ - v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}
280
+ - v1-ipfs-webui-
281
+ - run :
282
+ name : Installing dependencies
283
+ command : |
284
+ npm install
285
+ working_directory : ~/ipfs/go-ipfs/ipfs-webui
286
+ - run :
287
+ name : Running tests
288
+ command : |
289
+ npm test
290
+ working_directory : ~/ipfs/go-ipfs/ipfs-webui
291
+ environment :
292
+ IPFS_REUSEPORT : false
293
+ LIBP2P_ALLOW_WEAK_RSA_KEYS : true
294
+ E2E_IPFSD_TYPE : go
295
+ IPFS_GO_EXEC : /tmp/circleci-workspace/bin/ipfs
296
+ - save_cache :
297
+ key : v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}
298
+ paths :
299
+ - ~/ipfs/go-ipfs/ipfs-webui/node_modules
258
300
workflows :
259
301
version : 2
260
302
test :
@@ -273,3 +315,6 @@ workflows:
273
315
- go-ipfs-http-client :
274
316
requires :
275
317
- build
318
+ - ipfs-webui :
319
+ requires :
320
+ - build
You can’t perform that action at this time.
0 commit comments