Skip to content

Commit ecc755b

Browse files
committed
chore: update workflow
1 parent c325f24 commit ecc755b

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

.github/workflows/codecov.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@ jobs:
4141
steps:
4242
- name: checkout
4343
uses: actions/checkout@v2
44-
with:
45-
token: ${{ secrets.ACCESS_TOKEN }}
46-
47-
- name: Checkout submodules
48-
uses: actions/checkout@v2
49-
with:
50-
repository: tangjinzhou/antdv-demo
51-
token: ${{ secrets.ACCESS_TOKEN }}
52-
path: antdv-demo
53-
submodules: true
44+
# with:
45+
# token: ${{ secrets.ACCESS_TOKEN }}
46+
# - name: Checkout submodules
47+
# uses: actions/checkout@v2
48+
# with:
49+
# repository: tangjinzhou/antdv-demo
50+
# token: ${{ secrets.ACCESS_TOKEN }}
51+
# path: antdv-demo
52+
# submodules: true
5453

5554
- name: restore cache from package-lock.json
5655
uses: actions/cache@v1

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ jobs:
9797
steps:
9898
- name: checkout
9999
uses: actions/checkout@v2
100-
with:
101-
token: ${{ secrets.ACCESS_TOKEN }}
102100

103-
- name: Checkout submodules
104-
uses: actions/checkout@v2
105-
with:
106-
repository: tangjinzhou/antdv-demo
107-
token: ${{ secrets.ACCESS_TOKEN }}
108-
path: antdv-demo
109-
submodules: true
101+
# with:
102+
# token: ${{ secrets.ACCESS_TOKEN }}
103+
# - name: Checkout submodules
104+
# uses: actions/checkout@v2
105+
# with:
106+
# repository: tangjinzhou/antdv-demo
107+
# token: ${{ secrets.ACCESS_TOKEN }}
108+
# path: antdv-demo
109+
# submodules: true
110110

111111
- name: restore cache from package-lock.json
112112
uses: actions/cache@v1

components/slider/__tests__/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Slider', () => {
1919
await asyncExpect(() => {
2020
expect(document.body.innerHTML).toMatchSnapshot();
2121
wrapper.findAll('.ant-slider-handle')[0].trigger('mouseleave');
22-
});
22+
}, 0);
2323
await asyncExpect(() => {
2424
expect(document.body.innerHTML).toMatchSnapshot();
2525
}, 0);

0 commit comments

Comments
 (0)