chore: Bump semantic-release from 23.1.1 to 24.0.0 and conventional-changelog-conventionalcommits to 8.0.0 #110
Workflow file for this run
This file contains 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: Functional Tests | |
on: [pull_request] | |
jobs: | |
e2e: | |
runs-on: macos-12 | |
env: | |
CI: true | |
PLATFORM_VERSION: '16.0' | |
XCODE_VERSION: '14.0' | |
DEVICE_NAME: iPhone 11 Pro Max | |
PYTHON_VERSION: '3.9' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ env.XCODE_VERSION }} | |
- run: | | |
target_sim_id=$(xcrun simctl list devices available | grep "$DEVICE_NAME (" | cut -d "(" -f2 | cut -d ")" -f1) | |
open -Fn "$(xcode-select -p)/Applications/Simulator.app" | |
xcrun simctl bootstatus $target_sim_id -b | |
xcrun simctl shutdown $target_sim_id | |
name: Preboot ${{ env.DEVICE_NAME }} | |
- run: brew install python@${PYTHON_VERSION} | |
- run: | | |
brew tap facebook/fb | |
brew install idb-companion || true | |
/usr/local/opt/python@${PYTHON_VERSION}/bin/python${PYTHON_VERSION} -m pip install --user fb-idb | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
check-latest: true | |
- run: npm install | |
- run: | | |
export PATH="${PATH}:$(/usr/local/opt/python@${PYTHON_VERSION}/bin/python${PYTHON_VERSION} -c 'import site; print(site.USER_BASE)')/bin" | |
_FORCE_LOGS=1 npm run e2e-test |