Skip to content

Commit

Permalink
switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaKapos committed May 22, 2024
1 parent 33b0713 commit 5753e8c
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 158 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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: '^18'

- name: Setup MSBuild
uses: microsoft/[email protected]

- name: Check node modules cache
uses: actions/cache@v1
id: yarn-cache
with:
path: ./node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install node modules
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --pure-lockfile

- name: yarn build
if: steps.yarn-cache.outputs.cache-hit == 'true'
run: |
yarn build
yarn tsc
- name: Build x64 release
shell: powershell
run: npx react-native run-windows --root example --arch x64 --release --no-packager --no-deploy --logging
63 changes: 0 additions & 63 deletions azure-pipelines.yml

This file was deleted.

95 changes: 0 additions & 95 deletions ci.yml

This file was deleted.

0 comments on commit 5753e8c

Please sign in to comment.