-
Notifications
You must be signed in to change notification settings - Fork 220
44 lines (36 loc) · 900 Bytes
/
windows-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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/[email protected]
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