Skip to content

Commit 19cc9a9

Browse files
committed
chore: try fetching all tags and history in canary job
1 parent 61a779c commit 19cc9a9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,16 @@ jobs:
147147
if: github.ref == 'refs/heads/master'
148148
steps:
149149
- uses: actions/checkout@v2
150-
with:
151-
fetch-depth: 0 # fetch all history for this job, because lerna needs it
150+
# Fetch all history for all tags and branches in this job because lerna needs it
152151
- run: |
152+
git fetch --prune --unshallow
153+
echo "fetched"
154+
git status
155+
echo "end status 1"
156+
git checkout master
153157
git status
158+
echo "end status 2"
159+
echo "git log:"
154160
git log -n 2
155161
156162
- name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }}
@@ -178,6 +184,6 @@ jobs:
178184
yarn check-clean-workspace-after-install
179185
180186
- name: Publish all packages to npm
181-
run: npx lerna publish --canary --exact --force-publish --yes
187+
run: npx lerna publish --log-level=verbose --canary --exact --force-publish --yes
182188
env:
183189
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy