File tree Expand file tree Collapse file tree 4 files changed +113
-3
lines changed Expand file tree Collapse file tree 4 files changed +113
-3
lines changed Original file line number Diff line number Diff line change
1
+ # https://circleci.com/docs/2.0/configuration-reference/
1
2
version : 2.1
2
3
orbs :
3
4
cypress : cypress-io/cypress@1.13.0 # used to run e2e tests
18
19
workflows :
19
20
build :
20
21
jobs :
21
- - cypress/install
22
+ - cypress/install :
23
+ post-steps :
24
+ - run : npm run check:markdown
22
25
- cypress/run :
23
26
name : frontend coverage
24
27
requires :
@@ -66,6 +69,10 @@ workflows:
66
69
- run : npx nyc report --check-coverage true --lines 100 --include test-backend/index.js
67
70
68
71
- publish :
72
+ filters :
73
+ branches :
74
+ only :
75
+ - master
69
76
requires :
70
77
- frontend coverage
71
78
- backend coverage
Original file line number Diff line number Diff line change @@ -319,9 +319,17 @@ npx nyc report --check-coverage true --lines 100 --include cypress/about.js
319
319
npx nyc report --check-coverage true --lines 100 --include cypress/unit.js
320
320
```
321
321
322
+ ### Markdown
323
+
324
+ You can validate links in Markdown files in this directory by executing (Linux + Mac only) script
325
+
326
+ ``` shell
327
+ npm run check:markdown
328
+ ```
329
+
322
330
## License
323
331
324
- This project is licensed under the terms of the [ MIT license] ( / LICENSE.md) .
332
+ This project is licensed under the terms of the [ MIT license] ( LICENSE.md ) .
325
333
326
334
[ renovate-badge ] : https://img.shields.io/badge/renovate-app-blue.svg
327
335
[ renovate-app ] : https://renovateapp.com/
Original file line number Diff line number Diff line change 15
15
"format" : " prettier --write '*.js'" ,
16
16
"start:test:backend" : " nyc --silent node test-backend" ,
17
17
"cy:backend" : " cypress open --config-file cypress-backend.json" ,
18
- "dev:backend" : " start-test start:test:backend 3003 cy:backend"
18
+ "dev:backend" : " start-test start:test:backend 3003 cy:backend" ,
19
+ "check:markdown" : " find *.md -exec npx markdown-link-check {} \\ ;"
19
20
},
20
21
"peerDependencies" : {
21
22
"cypress" : " *" ,
59
60
"express" : " 4.17.1" ,
60
61
"istanbul-lib-coverage" : " 3.0.0" ,
61
62
"lodash" : " 4.17.15" ,
63
+ "markdown-link-check" : " 3.8.0" ,
62
64
"nyc" : " 15.0.0" ,
63
65
"parcel-bundler" : " 1.12.4" ,
64
66
"prettier" : " 1.19.1" ,
You can’t perform that action at this time.
0 commit comments