Skip to content

Commit 3c7dc65

Browse files
alan-agius4filipesilva
authored andcommitted
ci: pin @angular/core ng update to version 9
1 parent 91616b3 commit 3c7dc65

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

tests/legacy-cli/e2e/tests/build/material.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { updateJsonFile } from '../../utils/project';
66
const snapshots = require('../../ng-snapshot/package.json');
77

88
export default async function () {
9-
await ng('add', '@angular/material');
9+
await ng('add', '@angular/material@9');
1010

1111
const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots'];
1212
if (isSnapshotBuild) {
@@ -26,7 +26,7 @@ export default async function () {
2626

2727
await silentNpm('install');
2828
} else {
29-
await silentNpm('install', '@angular/material-moment-adapter');
29+
await silentNpm('install', '@angular/material-moment-adapter@9');
3030
}
3131

3232
await silentNpm('install', 'moment');

tests/legacy-cli/e2e/tests/update/update-1.0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default async function() {
1313
await ng('update', '@angular/cli');
1414
await useBuiltPackages();
1515
await silentNpm('install');
16-
await ng('update', '@angular/core', ...extraUpdateArgs);
16+
await ng('update', '@angular/core@9', ...extraUpdateArgs);
1717
await useCIDefaults('one-oh-project');
1818
await ng('generate', 'component', 'my-comp');
1919
await ng('test', '--watch=false');

tests/legacy-cli/e2e/tests/update/update-1.7-longhand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export default async function() {
1212
await ng('update', '@angular/cli', '--migrate-only', '--from=1.7.1');
1313
await useBuiltPackages();
1414
await silentNpm('install');
15-
await ng('update', '@angular/core', ...extraUpdateArgs);
15+
await ng('update', '@angular/core@9', ...extraUpdateArgs);
1616
await ng('build');
1717
}

tests/legacy-cli/e2e/tests/update/update-1.7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function() {
1515
await ng('update', '@angular/cli');
1616
await useBuiltPackages();
1717
await silentNpm('install');
18-
await ng('update', '@angular/core', ...extraUpdateArgs);
18+
await ng('update', '@angular/core@9', ...extraUpdateArgs);
1919
await useCIDefaults('latest-project');
2020
await ng('generate', 'component', 'my-comp');
2121
await ng('test', '--watch=false');

tests/legacy-cli/e2e/tests/update/update-7.0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default async function() {
4242
await silentNpm('install');
4343

4444
// Update Angular.
45-
await ng('update', '@angular/core', ...extraUpdateArgs);
45+
await ng('update', '@angular/core@9', ...extraUpdateArgs);
4646

4747
// Run CLI commands.
4848
await ng('generate', 'component', 'my-comp');

0 commit comments

Comments
 (0)