File tree Expand file tree Collapse file tree 9 files changed +48
-10343
lines changed Expand file tree Collapse file tree 9 files changed +48
-10343
lines changed Original file line number Diff line number Diff line change 28
28
run : yarn install
29
29
- name : Run tests
30
30
run : yarn ci
31
+
31
32
build-windows :
32
33
continue-on-error : true
33
34
runs-on : windows-latest
@@ -47,12 +48,13 @@ jobs:
47
48
run : yarn install
48
49
- name : Run tests
49
50
run : yarn ci
50
- verify-readme :
51
+
52
+ generate-typedoc :
51
53
runs-on : ubuntu-latest
52
54
strategy :
53
55
matrix :
54
56
node-version : [ 22.6 ]
55
- name : Verify README.md
57
+ name : Generate typedoc
56
58
steps :
57
59
- uses : actions/checkout@v4
58
60
- name : Use Node.js ${{ matrix.node-version }}
63
65
run : corepack enable
64
66
- name : Install node modules
65
67
run : yarn install
66
- - name : Verify README.md
67
- run : yarn readme && git diff README.md
68
+ - name : Build
69
+ run : yarn build
70
+ - name : Generate typedoc
71
+ run : yarn typedoc
72
+ - name : Upload static files as artifact
73
+ id : deployment
74
+ uses : actions/upload-pages-artifact@v3
75
+ with :
76
+ path : tmp/docs
77
+
68
78
verify-install :
69
79
runs-on : ubuntu-latest
70
80
strategy :
Original file line number Diff line number Diff line change 21
21
uses : softprops/action-gh-release@v2
22
22
with :
23
23
files : lib/bundle.js
24
+ - name : Generate typedoc
25
+ run : yarn typedoc
26
+ - name : Upload static files as artifact
27
+ id : deployment
28
+ uses : actions/upload-pages-artifact@v3
29
+ with :
30
+ path : tmp/docs
31
+
32
+ typedoc :
33
+ runs-on : ubuntu-latest
34
+ needs : build
35
+ permissions :
36
+ pages : write # to deploy to Pages
37
+ id-token : write # to verify the deployment originates from an appropriate source
38
+ environment :
39
+ name : github-pages
40
+ url : ${{ steps.deployment.outputs.page_url }}
41
+ steps :
42
+ - name : Deploy to GitHub Pages
43
+ uses : actions/deploy-pages@v4
44
+ id : deployment
You can’t perform that action at this time.
0 commit comments