Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(utils): add line break
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Netzer committed Jun 29, 2021
1 parent 252eada commit 2091574
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,9 @@ jobs:
run: |
git config user.name e-square-ci
git config user.email [email protected]
git remote set-url origin "https://x-access-token:[email protected]/e-square-io/${{ matrix.package }}.git"
git remote set-url --push origin "https://x-access-token:[email protected]/e-square-io/${{ matrix.package }}.git"
git fetch --unshallow origin
git tag -d v${{ needs.release.outputs.major }} || true
git tag -d v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git push origin :v${{ needs.release.outputs.major }} || true
git push origin :v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git tag -a v${{ needs.release.outputs.major }} -m "Release v${{ needs.release.outputs.major }}"
git tag -a v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} -m "Release v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }}"
git push origin v${{ needs.release.outputs.major }}
git push origin v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }}
git remote add upstream "https://x-access-token:[email protected]/e-square-io/${{ matrix.package }}.git"
git fetch --unshallow upstream
git push upstream :v${{ needs.release.outputs.major }} || true
git push upstream :v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git push upstream v${{ needs.release.outputs.major }}
git push upstream v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }}
2 changes: 1 addition & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ const nxPreset = require('@nrwl/jest/preset');

module.exports = {
...nxPreset,
coverageReporters: ['json'],
coverageReporters: ['json-summary', 'text', 'lcov'],
};
1 change: 1 addition & 0 deletions packages/utils/src/lib/nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type WorkspaceProjects = WorkspaceJsonConfiguration['projects'];

export function getWorkspaceProjects(): WorkspaceProjects {
const workspaceFile = tree.exists('angular.json') ? 'angular.json' : 'workspace.json';

debug(`🐞 Found ${workspaceFile} as nx workspace`);

const workspaceContent: WorkspaceJsonConfiguration = JSON.parse(
Expand Down

0 comments on commit 2091574

Please sign in to comment.