chore(ci): fetch all history for proper version-bump and history

This commit is contained in:
pooya parsa 2020-02-26 15:13:16 +01:00
parent c734f9a210
commit c947b7a70d
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ jobs:
- uses: actions/checkout@master
with:
ref: 'refs/heads/dev'
fetch-depth: 0 # All history
- uses: actions/setup-node@v1
with:
node-version: 12
@ -50,6 +51,7 @@ jobs:
- uses: actions/checkout@master
with:
ref: 'refs/heads/next'
fetch-depth: 0 # All history
- uses: actions/setup-node@v1
with:
node-version: 12

View File

@ -29,6 +29,8 @@ jobs:
- name: checkout
uses: actions/checkout@master
with:
fetch-depth: 100
- name: cache node_modules
id: node_modules_cache_id