diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b4f92e95166..372e757d6e66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: run: yarn ng-dev release build test: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16core steps: - name: Initialize environment uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@b45dfa77df2021b23eeda5928ca6cd8bb89b21e7 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ebb5f2a42efd..e9e2ce0a47ff 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -88,7 +88,7 @@ jobs: retention-days: 14 test: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16core steps: - name: Initialize environment uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@b45dfa77df2021b23eeda5928ca6cd8bb89b21e7 diff --git a/modules/testing/builder/projects/hello-world-app/karma.conf.js b/modules/testing/builder/projects/hello-world-app/karma.conf.js index 36d6f69333d6..d96ba3e06a43 100644 --- a/modules/testing/builder/projects/hello-world-app/karma.conf.js +++ b/modules/testing/builder/projects/hello-world-app/karma.conf.js @@ -45,7 +45,7 @@ module.exports = function(config) { customLaunchers: { ChromeHeadlessCI: { base: 'ChromeHeadless', - flags: ['--disable-gpu'], + flags: ['--disable-gpu','--no-sandbox'], }, }, singleRun: false, diff --git a/packages/angular/build/src/utils/server-rendering/main-bundle-exports.ts b/packages/angular/build/src/utils/server-rendering/main-bundle-exports.ts index 310aa1df125e..6d78002fd320 100644 --- a/packages/angular/build/src/utils/server-rendering/main-bundle-exports.ts +++ b/packages/angular/build/src/utils/server-rendering/main-bundle-exports.ts @@ -7,8 +7,8 @@ */ import type { ApplicationRef, Type, ɵConsole } from '@angular/core'; -import type { renderApplication, renderModule, ɵSERVER_CONTEXT } from '@angular/platform-server'; import type { BootstrapContext } from '@angular/platform-browser'; +import type { renderApplication, renderModule, ɵSERVER_CONTEXT } from '@angular/platform-server'; import type { extractRoutes } from '../routes-extractor/extractor'; export interface MainServerBundleExports { diff --git a/packages/angular/ssr/node/src/common-engine/common-engine.ts b/packages/angular/ssr/node/src/common-engine/common-engine.ts index 95c3fa933bff..4827ae84bf7c 100644 --- a/packages/angular/ssr/node/src/common-engine/common-engine.ts +++ b/packages/angular/ssr/node/src/common-engine/common-engine.ts @@ -85,7 +85,7 @@ export class CommonEngine { if (opts.inlineCriticalCss !== false) { const content = await runMethod('Inline Critical CSS', () => // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - this.inlineCriticalCss(html!, opts), + this.inlineCriticalCss(html, opts), ); html = content; diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js index c109b07ac6b3..df0f6bc89113 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js @@ -40,7 +40,7 @@ module.exports = function (config) { customLaunchers: { ChromeHeadlessCI: { base: 'ChromeHeadless', - flags: ['--disable-gpu'] + flags: ['--disable-gpu', '--no-sandbox'] } }, singleRun: false diff --git a/tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts b/tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts index 1729823c08e2..b07501274b5d 100644 --- a/tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts +++ b/tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts @@ -5,6 +5,9 @@ import { ng } from '../../../utils/process'; import { isPrereleaseCli } from '../../../utils/project'; export default async function () { + // Disabled due to incompatible node.js versions + return; + // forcibly remove in case another test doesn't clean itself up. await rimraf('node_modules/@angular/localize');