build(deps): bump tough-cookie from 4.0.0 to 4.1.3 in /test/perf/TestAppSentry #1155
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: Native Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
cancel-previous-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # [email protected] | |
with: | |
access_token: ${{ github.token }} | |
test: | |
name: ios | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: NPM cache | |
uses: actions/cache@v3 | |
id: deps-cache | |
with: | |
path: node_modules | |
key: ${{ github.workflow }}-${{ github.job }}-npm-${{ hashFiles('yarn.lock') }} | |
- name: Install SDK JS Dependencies | |
if: steps.deps-cache.outputs['cache-hit'] != 'true' | |
run: yarn install | |
- name: Install App Pods | |
working-directory: RNSentryTester | |
run: pod install | |
- name: Run iOS Tests | |
working-directory: RNSentryTester | |
env: | |
SCHEME: RNSentryTester | |
CONFIGURATION: Release | |
DESTINATION: 'platform=iOS Simulator,OS=latest,name=iPhone 14' | |
run: | | |
env NSUnbufferedIO=YES \ | |
xcodebuild -workspace *.xcworkspace \ | |
-scheme $SCHEME -configuration $CONFIGURATION \ | |
-destination "$DESTINATION" \ | |
test |