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/
12version : 2.1
23orbs :
34 cypress : cypress-io/cypress@1.13.0 # used to run e2e tests
1819workflows :
1920 build :
2021 jobs :
21- - cypress/install
22+ - cypress/install :
23+ post-steps :
24+ - run : npm run check:markdown
2225 - cypress/run :
2326 name : frontend coverage
2427 requires :
@@ -66,6 +69,10 @@ workflows:
6669 - run : npx nyc report --check-coverage true --lines 100 --include test-backend/index.js
6770
6871 - publish :
72+ filters :
73+ branches :
74+ only :
75+ - master
6976 requires :
7077 - frontend coverage
7178 - 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
319319npx nyc report --check-coverage true --lines 100 --include cypress/unit.js
320320```
321321
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+
322330## License
323331
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 ) .
325333
326334[ renovate-badge ] : https://img.shields.io/badge/renovate-app-blue.svg
327335[ renovate-app ] : https://renovateapp.com/
Original file line number Diff line number Diff line change 1515 "format" : " prettier --write '*.js'" ,
1616 "start:test:backend" : " nyc --silent node test-backend" ,
1717 "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 {} \\ ;"
1920 },
2021 "peerDependencies" : {
2122 "cypress" : " *" ,
5960 "express" : " 4.17.1" ,
6061 "istanbul-lib-coverage" : " 3.0.0" ,
6162 "lodash" : " 4.17.15" ,
63+ "markdown-link-check" : " 3.8.0" ,
6264 "nyc" : " 15.0.0" ,
6365 "parcel-bundler" : " 1.12.4" ,
6466 "prettier" : " 1.19.1" ,
You can’t perform that action at this time.
0 commit comments