[Snyk] Security upgrade react-native from 0.63.2 to 0.71.0 #98
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: Windows CI | |
on: [pull_request] | |
jobs: | |
run-windows-tests: | |
name: Build & run tests | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout Code | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.9.1' | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1.0.0 | |
with: | |
vs-version: 16.5 | |
- name: Build the module | |
run: | | |
yarn | |
yarn localPublish | |
cd example | |
yarn | |
- name: Build x64 release | |
run: | | |
cd example | |
npx react-native run-windows --release --no-packager --no-launch --logging | |
- name: Start Appium server | |
shell: powershell | |
run: | | |
cd example | |
Start-Process PowerShell -ArgumentList "yarn appium" | |
- name: Run tests | |
run: | | |
cd example | |
yarn test:windows |