ci: fix automated app CI workflow (#10218)

This commit is contained in:
Igor Randjelovic
2023-02-18 21:47:54 +01:00
committed by GitHub
parent a26a03eeb8
commit df7ecb95db
3 changed files with 8 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
java-version: '11'
- name: Install Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
- name: Install NativeScript
run: |
@ -53,7 +53,7 @@ jobs:
- name: Start iOS Simulator
if: ${{ always() && !cancelled() }} # run iOS tests even if Android tests failed
uses: futureware-tech/simulator-action@v1
uses: futureware-tech/simulator-action@v2
with:
model: 'iPhone 13 Pro Max'
os_version: '>=15.0'

View File

@ -1 +1,6 @@
legacy-peer-deps=true
# npm 9+ this defaults to `true` meaning `file:` dependencies are packed and then installed
# but since we want to link the source files in this case, we disable this behavior and
# opt to link the dependency as-is instead. (eg. @nativescript/core)
install-links=false

View File

@ -18,6 +18,7 @@ const spawned_process = spawn(
"run",
`apps-automated:${platform}`,
// "--log=trace",
// `--flags="--log=trace"`,
"--timeout=600" // 10 minutes, booting avds on CI is very slow...
],
{