Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(nx-cloud): organize workspace caching with improved input/outputs #642

feat(nx-cloud): organize workspace caching with improved input/outputs

feat(nx-cloud): organize workspace caching with improved input/outputs #642

name: 'apps/automated/ios'
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@v4
# - name: ActionDebugger By Warpbuild
# uses: Warpbuilds/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 23.5.0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
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@v4
with:
model: 'iPhone 15'
os_version: '17.5'
- name: Run tests on iOS Simulator
run: npx nx test apps-automated -c=ios