Skip to content

chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 #263

chore(deps-dev): bump mocha from 10.8.2 to 11.0.1

chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 #263

Workflow file for this run

name: Functional Tests
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
e2e:
strategy:
matrix:
include:
- os: macos-14
xcode: '15.2'
ios: '17.2'
device: iPhone 15
- os: macos-13
xcode: '14.3.1'
ios: '16.4'
device: iPhone 14
runs-on: ${{ matrix.os }}
env:
PLATFORM_VERSION: ${{ matrix.ios }}
XCODE_VERSION: ${{ matrix.xcode }}
DEVICE_NAME: ${{ matrix.device }}
_LOG_TIMESTAMP: 1
_FORCE_LOGS: 1
CI: true
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
- run: xcrun simctl list
- uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- name: Prepare iOS simulator
run: |
open -Fn "$(xcode-select -p)/Applications/Simulator.app"
udid=$(xcrun simctl list devices available -j | \
node -p "Object.entries(JSON.parse(fs.readFileSync(0)).devices).filter((x) => x[0].includes('$PLATFORM_VERSION'.replace('.', '-'))).reduce((acc, x) => [...acc, ...x[1]], []).find(({name}) => name === '$DEVICE_NAME').udid")
xcrun simctl bootstatus $udid -b
xcrun simctl openurl $udid "https://google.com" &
- run: npm install
- run: npm run e2e-test