Skip to content

Commit c947b7a

Browse files
author
pooya parsa
committed
chore(ci): fetch all history for proper version-bump and history
1 parent c734f9a commit c947b7a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/checkout@master
1212
with:
1313
ref: 'refs/heads/dev'
14+
fetch-depth: 0 # All history
1415
- uses: actions/setup-node@v1
1516
with:
1617
node-version: 12
@@ -50,6 +51,7 @@ jobs:
5051
- uses: actions/checkout@master
5152
with:
5253
ref: 'refs/heads/next'
54+
fetch-depth: 0 # All history
5355
- uses: actions/setup-node@v1
5456
with:
5557
node-version: 12

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929

3030
- name: checkout
3131
uses: actions/checkout@master
32+
with:
33+
fetch-depth: 100
3234

3335
- name: cache node_modules
3436
id: node_modules_cache_id

0 commit comments

Comments
 (0)