chore: update workflow
parent
c325f246cf
commit
ecc755b084
|
@ -41,16 +41,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
# - name: Checkout submodules
|
||||||
- name: Checkout submodules
|
# uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
# with:
|
||||||
with:
|
# repository: tangjinzhou/antdv-demo
|
||||||
repository: tangjinzhou/antdv-demo
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
# path: antdv-demo
|
||||||
path: antdv-demo
|
# submodules: true
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- name: restore cache from package-lock.json
|
- name: restore cache from package-lock.json
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
|
|
|
@ -97,16 +97,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
|
|
||||||
- name: Checkout submodules
|
# with:
|
||||||
uses: actions/checkout@v2
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
with:
|
# - name: Checkout submodules
|
||||||
repository: tangjinzhou/antdv-demo
|
# uses: actions/checkout@v2
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
# with:
|
||||||
path: antdv-demo
|
# repository: tangjinzhou/antdv-demo
|
||||||
submodules: true
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
# path: antdv-demo
|
||||||
|
# submodules: true
|
||||||
|
|
||||||
- name: restore cache from package-lock.json
|
- name: restore cache from package-lock.json
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
|
|
|
@ -19,7 +19,7 @@ describe('Slider', () => {
|
||||||
await asyncExpect(() => {
|
await asyncExpect(() => {
|
||||||
expect(document.body.innerHTML).toMatchSnapshot();
|
expect(document.body.innerHTML).toMatchSnapshot();
|
||||||
wrapper.findAll('.ant-slider-handle')[0].trigger('mouseleave');
|
wrapper.findAll('.ant-slider-handle')[0].trigger('mouseleave');
|
||||||
});
|
}, 0);
|
||||||
await asyncExpect(() => {
|
await asyncExpect(() => {
|
||||||
expect(document.body.innerHTML).toMatchSnapshot();
|
expect(document.body.innerHTML).toMatchSnapshot();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
Loading…
Reference in New Issue