Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.7k
fix(ios): prevent gc from collecting current navigation transition (#…#1155
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| name:'apps/automated/ios' | |
| permissions: | |
| contents:read | |
| pull-requests:write | |
| on: | |
| push: | |
| branches: | |
| -main | |
| -'ci/**' | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| NX_CLOUD_ACCESS_TOKEN:${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| concurrency: | |
| group:${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress:true | |
| jobs: | |
| test-ios: | |
| # runs-on: macos-latest | |
| runs-on:warp-macos-15-arm64-6x | |
| steps: | |
| -uses:actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955# v4.3.0 | |
| # - name: ActionDebugger By Warpbuild | |
| # uses: Warpbuilds/action-debugger@v1.3 | |
| -uses:actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903# v6.0.0 | |
| with: | |
| node-version:23.5.0 | |
| -name:Derive appropriate SHAs for base and head for `nx affected` commands | |
| uses:nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1# v4.3.3 | |
| with: | |
| main-branch-name:'main' | |
| -name:Install NativeScript | |
| run:| | |
| npm i -g nativescript --ignore-scripts | |
| ns usage-reporting disable | |
| ns error-reporting disable | |
| # ns doctor | |
| -name:Setup | |
| run:npm run setup | |
| -name:Unit Tests | |
| run:npx nx run-many --target=test --configuration=ci --projects=core | |
| -name:Start iOS Simulator | |
| uses:futureware-tech/simulator-action@dab10d813144ef59b48d401cd95da151222ef8cd# v4 | |
| with: | |
| model:'iPhone 16 Pro' | |
| os_version:'18.4' | |
| -name:Run tests on iOS Simulator | |
| run:npx nx test apps-automated -c=ios |