Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Pick changed GitHub Actions to 3.15.4 #6591

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Test V8 on Android nightly
name: V8 Reanimated build check [Nightly]
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: 0
on:
# Disabled until V8 gets support for RN 0.74
# pull_request:
# paths:
# - .github/workflows/build-v8-nightly.yml
# - .github/workflows/helper/configureV8.js
# schedule:
# - cron: '37 19 * * *'
pull_request:
paths:
- .github/workflows/V8-reanimated-build-check-nightly.yml
- .github/workflows/helper/configureV8.js
schedule:
- cron: '37 19 * * *'
workflow_call:
workflow_dispatch:

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Validate plugin
name: Babel plugin static check
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- '.github/workflows/validate-plugin.yml'
- '.github/workflows/babel-plugin-static-check.yml'
- 'packages/react-native-reanimated/plugin/**'
merge_group:
branches:
Expand All @@ -13,8 +13,10 @@ on:
branches:
- main
paths:
- '.github/workflows/validate-plugin.yml'
- '.github/workflows/babel-plugin-static-check.yml'
- 'packages/react-native-reanimated/plugin/**'
workflow_call:
workflow_dispatch:

jobs:
check:
Expand All @@ -35,10 +37,7 @@ jobs:

- name: Install monorepo dependencies
run: yarn install --immutable
- name: Install Reanimated node dependencies
working-directory: packages/react-native-reanimated
run: yarn install
- name: Build package
- name: Build Reanimated
working-directory: packages/react-native-reanimated
run: yarn build

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/build-monorepo-nightly.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/build-release-npm-package-rea3.yml

This file was deleted.

104 changes: 0 additions & 104 deletions .github/workflows/check-expo-dev-client-nightly.yml

This file was deleted.

90 changes: 0 additions & 90 deletions .github/workflows/check-react-native-nightly.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Test docs build
name: Docs Reanimated build check
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- '.github/workflows/docs-check.yml'
- '.github/workflows/docs-reanimated-build-check.yml'
- packages/docs-reanimated/**
merge_group:
branches:
- main
workflow_call:
workflow_dispatch:

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Publish Reanimated Docs
name: Docs Reanimated publish
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
push:
branches:
- main
paths: packages/docs-reanimated/**
paths:
- packages/docs-reanimated/**
workflow_dispatch:

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test Android build
name: Example Android build check
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- .github/workflows/android-build.yml
- .github/workflows/example-android-build-check.yml
- packages/react-native-reanimated/android/**
- packages/react-native-reanimated/Common/**
- apps/paper-example/package.json
Expand All @@ -18,13 +18,15 @@ on:
branches:
- main
paths:
- .github/workflows/android-build.yml
- .github/workflows/example-android-build-check.yml
- packages/react-native-reanimated/android/**
- packages/react-native-reanimated/Common/**
- apps/paper-example/package.json
- apps/paper-example/android/**
- apps/fabric-example/package.json
- apps/fabric-example/android/**
workflow_call:
workflow_dispatch:

jobs:
build:
Expand All @@ -41,37 +43,16 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install dependencies in root
run: yarn install --immutable

- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17

- name: Restore Reanimated node_modules from cache
uses: actions/cache@v3
with:
path: packages/react-native-reanimated/node_modules
key: ${{ runner.os }}-android-node-modules-reanimated-${{ hashFiles('packages/react-native-reanimated/yarn.lock') }}
restore-keys: ${{ runner.os }}-android-node-modules-reanimated-

- name: Install Reanimated node_modules
working-directory: packages/react-native-reanimated
# TODO: Add caching for node_modules and artifacts that will work with monorepo setup.
- name: Install monorepo node dependencies
run: yarn install --immutable

- name: Restore app node_modules from cache
uses: actions/cache@v3
with:
path: ${{ matrix.working-directory }}/node_modules
key: ${{ runner.os }}-android-node-modules-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/yarn.lock', matrix.working-directory)) }}
restore-keys: ${{ runner.os }}-android-node-modules-${{ matrix.working-directory }}-

- name: Install app node_modules
working-directory: ${{ matrix.working-directory }}
run: yarn install

- name: Build app
working-directory: ${{ matrix.working-directory }}/android
run: ./gradlew assembleDebug --build-cache -PreactNativeArchitectures=arm64-v8a
Loading
Loading