Skip to content

Commit

Permalink
fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed May 8, 2024
1 parent bf0177c commit 62b8c3e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-v8-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test V8 on Android nightly
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check-react-native-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check React Native nightly build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand All @@ -23,7 +25,7 @@ jobs:
run: npx react-native init app --skip-install --version nightly
- name: Install Reanimated
working-directory: app
run: yarn add github:software-mansion/react-native-reanimated
run: yarn add react-native-reanimated@github:software-mansion/react-native-reanimated
- name: Install Paper Pods
if: ${{ matrix.react-native-architecture == 'Paper' }}
working-directory: app/ios
Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
run: npx react-native init app --skip-install --version nightly
- name: Install Reanimated
working-directory: app
run: yarn add github:software-mansion/react-native-reanimated
run: yarn add react-native-reanimated@github:software-mansion/react-native-reanimated
- name: Setup Fabric
if: ${{ matrix.react-native-architecture == 'Fabric' }}
working-directory: app/android
Expand Down
38 changes: 21 additions & 17 deletions .github/workflows/tvos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
pull_request:
paths:
- .github/workflows/tvos-build.yml
- RNReanimated.podspec
- scripts/reanimated_utils.rb
- apple/**
- Common/**
- TVOSExample/package.json
- TVOSExample/ios/**
- packages/react-native-reanimated/RNReanimated.podspec
- packages/react-native-reanimated/scripts/reanimated_utils.rb
- packages/react-native-reanimated/apple/**
- packages/react-native-reanimated/Common/**
- packages/react-native-reanimated/TVOSExample/package.json
- packages/react-native-reanimated/TVOSExample/ios/**
merge_group:
branches:
- main
Expand All @@ -19,35 +19,39 @@ on:
- main
paths:
- .github/workflows/tvos-build.yml
- RNReanimated.podspec
- scripts/reanimated_utils.rb
- apple/**
- Common/**
- TVOSExample/package.json
- TVOSExample/ios/**
- packages/react-native-reanimated/RNReanimated.podspec
- packages/react-native-reanimated/scripts/reanimated_utils.rb
- packages/react-native-reanimated/apple/**
- packages/react-native-reanimated/Common/**
- packages/react-native-reanimated/TVOSExample/package.json
- packages/react-native-reanimated/TVOSExample/ios/**

jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: macos-14
env:
WORKING_DIRECTORY: TVOSExample
WORKING_DIRECTORY: packages/react-native-reanimated/TVOSExample
concurrency:
group: tvos-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install monorepo node dependencies
run: yarn install

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

- name: Install Reanimated node_modules
run: yarn install --immutable
working-directory: packages/react-native-reanimated
run: yarn install

- name: Restore app node_modules from cache
uses: actions/cache@v3
Expand All @@ -58,7 +62,7 @@ jobs:

- name: Install app node_modules
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn install --immutable
run: yarn install

- name: Restore Pods from cache
uses: actions/cache@v3
Expand Down

0 comments on commit 62b8c3e

Please sign in to comment.