File tree 7 files changed +9
-11
lines changed
7 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
34
34
shell : bash
35
35
run : |
36
36
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
37
-
37
+
38
38
- uses : actions/cache@v3
39
39
name : Setup pnpm cache
40
40
with :
41
41
path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
42
42
key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
43
43
restore-keys : |
44
44
${{ runner.os }}-pnpm-store-
45
-
45
+
46
46
- name : Install dependencies
47
47
run : pnpm install
48
48
52
52
- name : Deploy gh-pages
53
53
uses : JamesIves/github-pages-deploy-action@v4
54
54
with :
55
- folder : docs-dist
55
+ folder : docs-dist
Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ jobs:
33
33
shell : bash
34
34
run : |
35
35
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36
-
36
+
37
37
- uses : actions/cache@v3
38
38
name : Setup pnpm cache
39
39
with :
40
40
path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
41
41
key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
42
restore-keys : |
43
43
${{ runner.os }}-pnpm-store-
44
-
44
+
45
45
- name : Install dependencies
46
46
run : pnpm install
47
47
52
52
run : pnpm build
53
53
54
54
- name : Run tests
55
- run : pnpm test
55
+ run : pnpm test
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ pnpm publish --registry https://registry.npmjs.org/
88
88
### 发布站点
89
89
90
90
``` bash
91
- pnpm docs:build
92
91
pnpm deploy
93
92
```
94
93
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ pnpm publish --registry https://registry.npmjs.org/
88
88
### Publish website
89
89
90
90
``` bash
91
- pnpm docs:build
92
91
pnpm deploy
93
92
```
94
93
Original file line number Diff line number Diff line change 1
1
---
2
2
title : useCookieListener 监听 Cookie 变更
3
- group : 组件
3
+ group : Hooks
4
4
toc : content
5
5
demo :
6
6
cols : 1
Original file line number Diff line number Diff line change 1
1
---
2
2
title : useWindowSwitchListener 监听窗口触发焦点事件
3
- group : 组件
3
+ group : Hooks
4
4
toc : content
5
5
demo :
6
6
cols : 2
Original file line number Diff line number Diff line change 1
1
---
2
- title : useList
2
+ title : useList 请求表格数据
3
3
group : Hooks
4
4
toc : content
5
5
---
You can’t perform that action at this time.
0 commit comments