File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,27 @@ jobs:
28
28
- uses : actions/setup-node@v1
29
29
30
30
- run : npm ci
31
- - run : |
32
- # Compile JS
33
- npm run compile
34
- # Build all examples
31
+ - run : npm run compile
32
+
33
+ - name : Build all examples
34
+ run : |
35
35
npm run build:basic
36
36
npm run build:customised
37
37
npm run build:sections
38
- # Check that examples really works: no JS errors on load
38
+
39
+ - name : Check that examples really works - no JS errors on load
40
+ run : |
39
41
npm run test:browser:pre
40
42
npm run test:browser:basic
41
43
npm run test:browser:customised
42
44
npm run test:browser:sections
43
- # Run integration tests with Cypress
45
+
46
+ - name : Run Cypress tests
47
+ run : |
44
48
npm run test:cypress:pre
45
49
npm run test:cypress:startServer &
46
50
npm run test:cypress:startServer:post
47
- npm run test:cypress:run
51
+ npm run test:cypress:run
48
52
49
53
build :
50
54
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 194
194
"test:browser:customised" : " node test/browser.js examples/customised/styleguide/index.html" ,
195
195
"test:browser:sections" : " node test/browser.js examples/sections/styleguide/index.html" ,
196
196
"format" : " prettier --loglevel warn --write \" **/*.{js,md}\" " ,
197
- "test:cypress:pre" : " npm i --no-save cypress@3.0.2 wait-on" ,
197
+ "test:cypress:pre" : " npm i --no-save cypress@6.5.0 wait-on" ,
198
198
"test:cypress:open" : " cypress open" ,
199
199
"test:cypress:run" : " cypress run" ,
200
200
"test:cypress:startServer" : " node test/run.server.js" ,
Original file line number Diff line number Diff line change 4
4
// only generate typings when using this tsconfig
5
5
"declaration" : true
6
6
},
7
+ // ignore the dangerfile in calculation of the root folder
8
+ "files" : [],
7
9
// avoid generating typings for tests and mocks
8
10
"exclude" : [
9
11
" dangerfile.ts" ,
You can’t perform that action at this time.
0 commit comments