Skip to content

Commit 8594153

Browse files
committed
chore(workflow): change "tests" fetch-depth
1 parent 1879e4b commit 8594153

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323
if: github.event.inputs.git-ref == ''
24+
with:
25+
fetch-depth: 0 # always fetch everything to be sure for codecov
2426
- uses: actions/checkout@v2
2527
if: github.event.inputs.git-ref != ''
2628
with:
2729
ref: ${{ github.event.inputs.git-ref }}
30+
fetch-depth: 5 # because this is an manual trigger, only fetch the latest 5
2831
- name: Use Node.js ${{ matrix.node-version }}
2932
uses: actions/setup-node@v1
3033
with:

0 commit comments

Comments
 (0)