Skip to content

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

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

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

name: Test V8 on Android nightly
on:
pull_request:
paths:
- .github/workflows/build-v8-nightly.yml
- .github/workflows/helper/configureV8.js
schedule:
- cron: "37 19 * * *"
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: ubuntu-latest
concurrency:
group: build-v8-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out
uses: actions/checkout@v4
with:
path: "reanimated_repo"
- 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: Setup Yarn lockfile
working-directory: app
run: touch yarn.lock
- name: Install dependencies
working-directory: app
run: yarn install
- name: Install test dependencies
working-directory: app
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }} react-native-v8 v8-android-jit
- name: Configure V8
run: node reanimated_repo/.github/workflows/helper/configureV8.js
- name: Build Android app
working-directory: app/android
run: ./gradlew assembleDebug --console=plain