Skip to content

Commit b88ee6c

Browse files
committed
ci: 更新 action 的版本
1 parent 11ab4a9 commit b88ee6c

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/configure-pages@v6
4848

4949
- name: Upload artifact
50-
uses: actions/upload-pages-artifact@v4
50+
uses: actions/upload-pages-artifact@v5
5151
with:
5252
path: "./docs"
5353

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: make test-ts
4242

4343
- name: Upload Coverage report
44-
uses: codecov/codecov-action@v5
44+
uses: codecov/codecov-action@v6
4545
with:
4646
token: ${{secrets.CODECOV_TOKEN}}
4747
files: ./coverage/ts.json
@@ -70,7 +70,7 @@ jobs:
7070
run: make test-go
7171

7272
- name: Upload Coverage report
73-
uses: codecov/codecov-action@v5
73+
uses: codecov/codecov-action@v6
7474
with:
7575
token: ${{secrets.CODECOV_TOKEN}}
7676
files: ./coverage/go.txt

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ close #1
119119

120120
在 windows 环境下,部分 `make` 命令需要 `bash` 环境,默认情况下,Git 自带了 `bash` 环境。
121121

122+
如果不需要执行依赖,直接执当前的 make 命令,可以使用 -W 参数,比如 `make -W build-ts-core test-ts-components`
123+
会直接执行 test-ts-components 而忽略其依赖的项目 `build-ts-core`
124+
122125
## 开发
123126

124127
### 目录结构

packages/core/src/api/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export async function newCache(id: string): Promise<Cache> {
66
if ('caches' in window) {
77
return await caches.open(id);
88
}
9-
console.warn('非 HTTP 环境,无法启用 API 缓存功能!');
9+
console.warn('无法启用 API 缓存功能!');
1010
return new CacheImplement();
1111
}
1212

0 commit comments

Comments
 (0)