Content-Length: 2113 | pFad | http://github.com/NativeScript/NativeScript/pull/10455.diff

thub.com diff --git a/.github/workflows/apps_automated.yml b/.github/workflows/apps_automated.yml index 1fce002040..0375d67692 100644 --- a/.github/workflows/apps_automated.yml +++ b/.github/workflows/apps_automated.yml @@ -21,12 +21,12 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20.10.0 - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - name: Install Python uses: actions/setup-python@v4 @@ -49,6 +49,8 @@ jobs: - name: Create Emulator uses: rigor789/action-create-emulator@main + with: + package: system-images;android-34;default;x86_64 - name: Test (Android) run: node tools/scripts/run-automated.js android diff --git a/packages/core/ui/styling/css-utils.ts b/packages/core/ui/styling/css-utils.ts index 81684401ac..b5bd49f4a9 100644 --- a/packages/core/ui/styling/css-utils.ts +++ b/packages/core/ui/styling/css-utils.ts @@ -2,7 +2,11 @@ import { Trace } from '../../trace'; import { CoreTypes } from '../../core-types'; import { Length } from './style-properties'; -export function cleanupImportantFlags(value: string, propertyName: string) { +export function cleanupImportantFlags(value: unknown, propertyName: string) { + if (typeof value !== 'string') { + return '' + value; + } + const index = value?.indexOf('!important'); if (index >= 0) { if (Trace.isEnabled()) { diff --git a/tools/scripts/run-automated.js b/tools/scripts/run-automated.js index f9f6a92531..e7e94b1467 100644 --- a/tools/scripts/run-automated.js +++ b/tools/scripts/run-automated.js @@ -8,7 +8,7 @@ const spawn = require('child_process').spawn const kill = require('tree-kill'); const path = require('path'); -const TIMEOUT_MS = 5 * 60 * 1000; // 5 minutes +const TIMEOUT_MS = 20 * 60 * 1000; // 20 minutes (is Github CI this slow to boot AVDs?) const workspaceDir = path.resolve(__dirname, '../..'); const platform = process.argv[2]; const spawned_process = spawn(








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/pull/10455.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy