Skip to content

Commit 9fa7e70

Browse files
committed
chore(release): fix e2es
1 parent 7174af3 commit 9fa7e70

File tree

5 files changed

+215
-244
lines changed

5 files changed

+215
-244
lines changed

e2e/release/src/conventional-commits-config.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import { NxJsonConfiguration } from '@nx/devkit';
22
import {
33
cleanupProject,
4+
getPackageManagerCommand,
45
newProject,
56
readFile,
67
runCLI,
78
runCommandAsync,
89
uniq,
910
updateJson,
1011
} from '@nx/e2e-utils';
12+
import { setupWorkspaces } from './utils';
1113

1214
expect.addSnapshotSerializer({
1315
serialize(str: string) {
@@ -86,6 +88,10 @@ describe('nx release conventional commits config', () => {
8688
return nxJson;
8789
});
8890

91+
setupWorkspaces(pkg1, pkg2, pkg3, pkg4, pkg5, pkg6);
92+
const pmc = getPackageManagerCommand();
93+
await runCommandAsync(pmc.install);
94+
8995
await runCommandAsync(`git add .`);
9096
await runCommandAsync(`git commit -m "chore: initial commit"`);
9197
await runCommandAsync(`git tag -a ${pkg1}@0.0.1 -m "${pkg1}@0.0.1"`);

0 commit comments

Comments
 (0)