File tree Expand file tree Collapse file tree 1 file changed +28
-16
lines changed
Expand file tree Collapse file tree 1 file changed +28
-16
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,8 @@ name: Test
33on :
44 pull_request :
55 branches : [main]
6- paths :
7- - ' lib/**'
8- - ' index.ts'
9- - ' styles.css'
10- - ' package.json'
11- - ' __tests__/**'
12- - ' tsconfig.json'
13- - ' .github/workflows/test.yml'
146 push :
157 branches : [main]
16- paths :
17- - ' lib/**'
18- - ' index.ts'
19- - ' styles.css'
20- - ' package.json'
21- - ' __tests__/**'
22- - ' tsconfig.json'
23- - ' .github/workflows/test.yml'
248
259jobs :
2610 test :
7256
7357 - name : Check TypeScript types
7458 run : yarn build:ts --noEmit
59+
60+ docs-build :
61+ runs-on : ubuntu-latest
62+
63+ steps :
64+ - name : Checkout
65+ uses : actions/checkout@v4
66+
67+ - name : Setup Node.js
68+ uses : actions/setup-node@v4
69+ with :
70+ node-version : ' 18'
71+ cache : ' yarn'
72+
73+ - name : Install Root Dependencies & Build Plugin
74+ run : |
75+ yarn install --frozen-lockfile
76+ yarn build
77+
78+ - name : Install Docs Dependencies
79+ run : |
80+ cd docs
81+ yarn install --frozen-lockfile
82+
83+ - name : Build Documentation Site
84+ run : |
85+ cd docs
86+ yarn build
You can’t perform that action at this time.
0 commit comments