File tree 4 files changed +36
-0
lines changed
4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy Documentation
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : actions/setup-node@v4
12
+ with :
13
+ node-version : lts/*
14
+ - run : npm install
15
+ - run : npm run docs
16
+ - uses : actions/configure-pages@v5
17
+ - uses : actions/upload-pages-artifact@v3
18
+ with :
19
+ path : ' ./docs'
20
+ deploy :
21
+ needs : build
22
+ permissions :
23
+ pages : write
24
+ id-token : write
25
+ environment :
26
+ name : github-pages
27
+ url : ${{ steps.deployment.outputs.page_url }}
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ - uses : actions/deploy-pages@v4
31
+ id : deployment
Original file line number Diff line number Diff line change 16
16
- run : npm test
17
17
- run : npm run lint
18
18
- run : npm run type-check
19
+ - run : npm run docs
Original file line number Diff line number Diff line change 1
1
node_modules /
2
2
package-lock.json
3
3
4
+ docs /
5
+
4
6
scratch /
5
7
TODO *
Original file line number Diff line number Diff line change 31
31
"test" : " vitest --watch=false" ,
32
32
"coverage" : " vitest run --coverage" ,
33
33
"type-check" : " tsc --noEmit" ,
34
+ "docs" : " typedoc" ,
34
35
"prepack" : " tsc --project tsconfig.build.json" ,
35
36
"postpack" : " node ./bin/postpack.js"
36
37
},
44
45
"@typescript-eslint/parser" : " *" ,
45
46
"eslint-import-resolver-typescript" : " *" ,
46
47
"eslint-plugin-import" : " *" ,
48
+ "typedoc" : " ^0.27.6" ,
47
49
"typescript-eslint" : " *" ,
48
50
"undici" : " ^7.3.0" ,
49
51
"vitest" : " *"
You can’t perform that action at this time.
0 commit comments