From c947b7a70d729b210bc8e7a60f410c41dc583019 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 26 Feb 2020 15:13:16 +0100 Subject: [PATCH] chore(ci): fetch all history for proper version-bump and history --- .github/workflows/nightly.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b60ed45291..ed7c83f381 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08097ce744..2840cc418b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,8 @@ jobs: - name: checkout uses: actions/checkout@master + with: + fetch-depth: 100 - name: cache node_modules id: node_modules_cache_id