Skip to content

Monorepo [0/?] - move move github actions to root #357

Monorepo [0/?] - move move github actions to root

Monorepo [0/?] - move move github actions to root #357

name: Test build on Windows nightly
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: 0
on:
pull_request:
paths:
- .github/workflows/build-on-windows-nightly.yml
schedule:
- cron: '37 19 * * *'
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: windows-latest
concurrency:
group: build-on-windows-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Create React Native App
run: npx react-native init App
- name: Install dependencies
working-directory: App
run: yarn
- name: Download Reanimated from commit
working-directory: App
run: curl -LJO https://codeload.github.com/software-mansion/react-native-reanimated/tar.gz/${{ github.sha }}
- name: Install Reanimated
working-directory: App
run: yarn add react-native-reanimated@file:./react-native-reanimated-${{ github.sha }}.tar.gz
- name: Build Android App
working-directory: App/android
run: ./gradlew assembleDebug --console=plain