Skip to content

Commit 6f87b9e

Browse files
committed
ci: use codecov-action@v3
1 parent 732941d commit 6f87b9e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
NODE_OPTIONS: --max_old_space_size=4096
4141

4242
- name: Upload coverage to Codecov
43-
uses: codecov/codecov-action@v1
43+
uses: codecov/codecov-action@v3
4444
with:
4545
token: ${{ secrets.CODECOV_TOKEN }}
4646
fail_ci_if_error: true

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
3636
ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }}
3737
- name: Upload coverage to Codecov
38-
uses: codecov/codecov-action@v1
38+
uses: codecov/codecov-action@v3
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
4141
fail_ci_if_error: true

packages/components/builder.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ export const BuilderConfig: IBuilderConfig = {
44
targetLibName: 'antd',
55
targetLibCjsDir: 'lib',
66
targetLibEsDir: 'es',
7+
externals: {
8+
antd: 'antd',
9+
dayjs: 'dayjs',
10+
},
711
}

0 commit comments

Comments
 (0)