mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
ci: fix ci error on npm 8
This commit is contained in:
parent
b19c8dd650
commit
56a9b9a405
2
.github/workflows/codecov.yml
vendored
2
.github/workflows/codecov.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
key: lock-${{ github.sha }}
|
key: lock-${{ github.sha }}
|
||||||
|
|
||||||
- name: create package-lock.json
|
- name: create package-lock.json
|
||||||
run: npm i --package-lock-only
|
run: npm i --package-lock-only --ignore-scripts
|
||||||
|
|
||||||
- name: hack for singe file
|
- name: hack for singe file
|
||||||
run: |
|
run: |
|
||||||
|
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: cache package-lock.json
|
- name: cache package-lock.json
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -16,7 +16,7 @@ jobs:
|
|||||||
key: lock-${{ github.sha }}
|
key: lock-${{ github.sha }}
|
||||||
|
|
||||||
- name: create package-lock.json
|
- name: create package-lock.json
|
||||||
run: npm i --package-lock-only
|
run: npm i --package-lock-only --ignore-scripts
|
||||||
|
|
||||||
- name: hack for singe file
|
- name: hack for singe file
|
||||||
run: |
|
run: |
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: restore cache from package-lock.json
|
- name: restore cache from package-lock.json
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: restore cache from package-lock.json
|
- name: restore cache from package-lock.json
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -96,12 +96,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# with:
|
# with:
|
||||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
# - name: Checkout submodules
|
# - name: Checkout submodules
|
||||||
# uses: actions/checkout@master
|
# uses: actions/checkout@v2
|
||||||
# with:
|
# with:
|
||||||
# repository: tangjinzhou/antdv-demo
|
# repository: tangjinzhou/antdv-demo
|
||||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user