File tree 3 files changed +19
-1
lines changed
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 50
50
working-directory : addon
51
51
run : pnpm tsc --noEmit
52
52
53
+ docs-gen :
54
+ timeout-minutes : 5
55
+ name : Docs Generation
56
+ runs-on : ubuntu-latest
57
+
58
+ steps :
59
+ - uses : actions/checkout@v4
60
+ - uses : pnpm/action-setup@v4
61
+ - uses : actions/setup-node@v4
62
+ with :
63
+ cache : pnpm
64
+ - name : Install Dependencies
65
+ run : pnpm install
66
+ - run : pnpm build:docs
67
+ - run : echo "If this fails, docs gen is out of sync. Please run 'pnpm build:docs'" && git diff --exit-code
68
+
69
+
53
70
floating :
54
71
name : " Floating Dependencies"
55
72
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 29
29
"prepack" : " cp ../README.md ./ && pnpm build" ,
30
30
"postpack" : " rimraf addon-test-support/**/*.js public-types" ,
31
31
"clean" : " git clean -x -f" ,
32
- "docs" : " pnpm build && documentation build --document-exported \" addon-test-support/@ember/test-helpers/index.js\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o API.md" ,
32
+ "docs" : " pnpm build && documentation build --document-exported \" addon-test-support/@ember/test-helpers/index.js\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o ../ API.md" ,
33
33
"lint" : " concurrently \" npm:lint:*(!fix)\" --names \" lint:\" " ,
34
34
"lint:fix" : " concurrently 'npm:lint:*:fix' --names 'fix:'" ,
35
35
"lint:js" : " eslint --cache ." ,
Original file line number Diff line number Diff line change 5
5
"repository" : " https://github.com/emberjs/ember-test-helpers" ,
6
6
"license" : " (MIT OR Apache-2.0)" ,
7
7
"scripts" : {
8
+ "build:docs" : " pnpm --filter '@ember/test-helpers' run docs" ,
8
9
"lint" : " pnpm --filter '*' lint" ,
9
10
"lint:fix" : " pnpm --filter '*' lint:fix" ,
10
11
"test" : " pnpm --filter '*' test"
You can’t perform that action at this time.
0 commit comments