Commit 18f474a 1 parent b3c7407 commit 18f474a Copy full SHA for 18f474a
File tree 6 files changed +11
-254
lines changed
6 files changed +11
-254
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
21
21
rm -rf ./**/node_modules/
22
22
yarn install
23
23
yarn build
24
- - name : Test docs
24
+ - name : Test docs examples
25
25
run : |
26
26
cd docs
27
- yarn test:docs
27
+ yarn test:examples
28
28
29
29
install-build :
30
30
uses : ./.github/workflows/build-lint.yml
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ Note: links that are to be expanded must have text \[example]
27
27
28
28
* To execute the scripts within ` /examples ` as tests: ` yarn test:examples `
29
29
* To build the documentation by expanding examples: ` yarn build `
30
- * To execute code from the built documentation (build check): ` yarn test:docs `
31
30
32
31
33
32
Original file line number Diff line number Diff line change 4
4
"type" : " module" ,
5
5
"version" : " 1.0.0" ,
6
6
"scripts" : {
7
- "test:docs" : " yarn runme run --all --category example --skip-prompts" ,
8
7
"test:examples" : " ts-node-test examples/" ,
9
8
"build" : " find . -name \" *.md\" -type f -maxdepth 1 ! -name \" README.md\" -delete && tsup builddocs.ts && node dist/builddocs.cjs"
10
9
},
14
13
},
15
14
"devDependencies" : {
16
15
"expect" : " ^29.7.0" ,
17
- "runme" : " ^3.0.2" ,
18
16
"ts-node-test" : " ^0.4.3"
19
17
}
20
18
}
Original file line number Diff line number Diff line change 13
13
"test:unit" : " turbo test:unit" ,
14
14
"test:integration" : " turbo test:integration" ,
15
15
"format" : " turbo format" ,
16
- "test:docs" : " turbo test:docs" ,
17
16
"test:examples" : " turbo test:examples" ,
18
17
"merge-coverage" : " ts-node scripts/merge-coverage.ts" ,
19
18
"generate:apidocs" : " typedoc --options typedoc.json --logLevel Verbose"
Original file line number Diff line number Diff line change 21
21
"dependsOn" : [" ^build" ]
22
22
},
23
23
"format" : {},
24
- "test:docs" : {
25
- "dependsOn" : [" ^build" ]
26
- },
27
24
"test:examples" : {
28
25
"dependsOn" : [" ^build" ]
29
26
}
You can’t perform that action at this time.
0 commit comments