Skip to content

Commit

Permalink
chore: try fetching all tags and history in canary job
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Mar 18, 2020
1 parent 61a779c commit 19cc9a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -147,10 +147,16 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all history for this job, because lerna needs it
# Fetch all history for all tags and branches in this job because lerna needs it
- run: |
git fetch --prune --unshallow
echo "fetched"
git status
echo "end status 1"
git checkout master
git status
echo "end status 2"
echo "git log:"
git log -n 2
- name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }}
Expand Down Expand Up @@ -178,6 +184,6 @@ jobs:
yarn check-clean-workspace-after-install
- name: Publish all packages to npm
run: npx lerna publish --canary --exact --force-publish --yes
run: npx lerna publish --log-level=verbose --canary --exact --force-publish --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 19cc9a9

Please sign in to comment.