Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed May 8, 2024
1 parent 62b8c3e commit 3d78462
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-v8-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: Test V8 on Android nightly
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/check-react-native-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: Check React Native nightly build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-static-framework-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: npx react-native init app
- name: Install app node dependencies
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
42 changes: 23 additions & 19 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
pull_request:
paths:
- .github/workflows/macos-build.yml
- RNReanimated.podspec
- scripts/reanimated_utils.rb
- apple/**
- Common/**
- MacOSExample/package.json
- MacOSExample/ios/**
- MacOSExample/macos/**
- 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/MacOSExample/package.json
- packages/react-native-reanimated/MacOSExample/ios/**
- packages/react-native-reanimated/ MacOSExample/macos/**
merge_group:
branches:
- main
Expand All @@ -20,36 +20,40 @@ on:
- main
paths:
- .github/workflows/macos-build.yml
- RNReanimated.podspec
- scripts/reanimated_utils.rb
- apple/**
- Common/**
- MacOSExample/package.json
- MacOSExample/ios/**
- MacOSExample/macos/**
- 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/MacOSExample/package.json
- packages/react-native-reanimated/MacOSExample/ios/**
- packages/react-native-reanimated/MacOSExample/macos/**

jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: macos-14
env:
WORKING_DIRECTORY: MacOSExample
WORKING_DIRECTORY: packages/react-native-reanimated/MacOSExample
concurrency:
group: macos-${{ 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 }}-macos-node-modules-reanimated-${{ hashFiles('yarn.lock') }}
path: packages/react-native-reanimated/node_modules
key: ${{ runner.os }}-macos-node-modules-reanimated-${{ hashFiles('packages/react-native-reanimated/yarn.lock') }}
restore-keys: ${{ runner.os }}-macos-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 @@ -60,7 +64,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 3d78462

Please sign in to comment.