Skip to content

Commit

Permalink
Merge pull request #347 from layer5io/add-error-handling
Browse files Browse the repository at this point in the history
ci(repo): pass error handling on parsing lerna changed --json
  • Loading branch information
nebula-aac authored Nov 17, 2023
2 parents 2823043 + e6202b9 commit f0a1fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Identify changed packages
run: |
CHANGED_PACKAGES=$(yarn lerna changed --json | jq -r '.[].name')
CHANGED_PACKAGES=$(yarn lerna changed --json | jq -r '.[].name' || echo "Error parsing JSON")
echo $CHANGED_PACKAGES
- name: Version packages
Expand All @@ -65,4 +65,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f0a1fcf

Please sign in to comment.