File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 57
57
path : |
58
58
docs/build/*
59
59
60
- build-explorer :
60
+ build-test- explorer :
61
61
runs-on : ubuntu-22.04
62
62
steps :
63
63
- name : Checkout sources
70
70
cache : ' yarn'
71
71
cache-dependency-path : mithril-explorer/yarn.lock
72
72
73
+ - name : Install dependencies
74
+ working-directory : mithril-explorer
75
+ run : yarn install --frozen-lockfile
76
+
77
+ - name : Test explorer
78
+ working-directory : mithril-explorer
79
+ run : |
80
+ make test
81
+
73
82
- name : Build Explorer
74
83
working-directory : mithril-explorer
75
84
run : |
@@ -109,7 +118,7 @@ jobs:
109
118
needs :
110
119
- cargo-doc
111
120
- build-docusaurus
112
- - build-explorer
121
+ - build-test- explorer
113
122
- build-open-api-ui
114
123
steps :
115
124
- name : Download mithril-rust-doc artifact
Original file line number Diff line number Diff line change 1
- .PHONY : clean install
1
+ .PHONY : clean install build serve dev upgrade
2
2
3
3
yarn.lock :
4
4
yarn install
Original file line number Diff line number Diff line change 1
- .PHONY : clean install
1
+ .PHONY : clean install build dev test watch-test lint upgrade
2
2
3
3
yarn.lock :
4
4
yarn install
15
15
@echo " Serving dev build at: http://localhost:3000/explorer"
16
16
yarn run dev
17
17
18
+ test : yarn.lock
19
+ yarn run test:ci
20
+
21
+ watch-test : yarn.lock
22
+ yarn run test
23
+
18
24
lint :
19
25
yarn run lint
20
26
You can’t perform that action at this time.
0 commit comments