Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8bc9713
init
tjzel Apr 3, 2024
1778cb9
validate plugin
tjzel Apr 4, 2024
a44688e
swap order
tjzel Apr 4, 2024
606e8c0
yarn 3
tjzel Apr 4, 2024
84d013e
test
tjzel Apr 4, 2024
72a70e6
more test
tjzel Apr 4, 2024
ebfceef
lets go
tjzel Apr 4, 2024
1649ff7
bump gesture handler
tjzel Apr 4, 2024
aa4695b
yarn locks and plugin
tjzel Apr 4, 2024
f6311fd
validate ios
tjzel Apr 4, 2024
cec0b61
huh
tjzel Apr 4, 2024
40582c2
more fixes
tjzel Apr 5, 2024
0c3d74b
no more postinstall
tjzel Apr 5, 2024
a8d117c
yarn install?
tjzel Apr 5, 2024
72bc379
alternate
tjzel Apr 5, 2024
1e93064
more ci
tjzel Apr 8, 2024
98b4c89
hardended mode
tjzel Apr 10, 2024
7ba2320
Merge branch 'main' into @tjzel/bump-yarn
tjzel Apr 10, 2024
8c24d6d
Merge branch '@tjzel/bump-yarn' of https://github.com/software-mansio…
tjzel Apr 10, 2024
50cad3c
final
tjzel Apr 10, 2024
20491df
review changes
tjzel Apr 10, 2024
78575eb
validate yarn on steroids
tjzel Apr 10, 2024
eeaeaab
origin/main
tjzel Apr 10, 2024
317bdc7
no origin/main
tjzel Apr 10, 2024
e0c6d9d
ci help
tjzel Apr 10, 2024
5511b49
ci help
tjzel Apr 10, 2024
8d5115a
echooo
tjzel Apr 10, 2024
c41a87c
main again
tjzel Apr 10, 2024
08f9ee7
some action idk
tjzel Apr 10, 2024
f5b5ec1
tired
tjzel Apr 10, 2024
d687cf7
huh
tjzel Apr 10, 2024
edfb96b
seems like it
tjzel Apr 10, 2024
8683bd5
close
tjzel Apr 10, 2024
99c278d
final final
tjzel Apr 10, 2024
cb78bf5
workspace
tjzel Apr 10, 2024
565219a
plx
tjzel Apr 10, 2024
405f8fe
finally
tjzel Apr 10, 2024
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
plugin/build/* linguist-generated=true

.yarn/releases/** binary
2 changes: 2 additions & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test Android build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/build-monorepo-action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Test build in monorepo
env:
YARN_ENABLE_HARDENED_MODE: 0
REACT_NATIVE_TEMPLATE: ${{ inputs.react_native_version && '--version' || '' }} ${{ inputs.react_native_version }}
on:
workflow_call:
inputs:
Expand All @@ -15,9 +18,6 @@ on:
required: false
type: string

env:
REACT_NATIVE_TEMPLATE: ${{ inputs.react_native_version && '--version' || '' }} ${{ inputs.react_native_version }}

jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
Expand All @@ -44,10 +44,18 @@ jobs:
run: |
echo '{"name":"rnos-monorepo-tester","version":"1.0.0","license":"MIT","private":true,"workspaces":{"packages":["RootApp","packages/PackageApp", "AppA", "AppB"],"nohoist":["**/react","**/react-dom","**/react-native","**/react-native/**","**/react-native-codegen","**/react-native-dev-menu"]}}' > package.json
yarn

- name: Install dependencies for RootApp
working-directory: monorepo/RootApp
run: yarn install
- name: Install Reanimated for RootApp
working-directory: monorepo/RootApp
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }}

- name: Install dependencies for PackageApp
working-directory: monorepo/packages/PackageApp
run: yarn install
- name: Install Reanimated for PackageApp
working-directory: monorepo/packages/PackageApp
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }}

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-monorepo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test monorepo build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-next-example.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Build/test NextExample
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand All @@ -22,6 +24,9 @@ jobs:
- name: Install Reanimated node_modules
run: yarn install --immutable

- name: Build package
run: yarn build

- name: Install NextExample node_modules
working-directory: NextExample
run: yarn install --immutable
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-nightly-npm-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build nightly npm package

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
schedule:
- cron: '27 23 * * *' # at 23:27 every day
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-npm-package-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build npm package

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
workflow_call:
inputs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-on-windows-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test build on Windows nightly
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand All @@ -22,6 +24,9 @@ jobs:
java-version: '17'
- name: Create React Native App
run: npx react-native init App
- name: Install dependencies
working-directory: App
run: yarn
- name: Install Reanimated
working-directory: App
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-release-npm-package-rea2.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build release npm package, Reanimated 2

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
workflow_dispatch:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-release-npm-package-rea3.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build release npm package, Reanimated 3

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
workflow_dispatch:

Expand Down
5 changes: 5 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 All @@ -22,6 +24,9 @@ jobs:
- name: Create React Native app
run: npx react-native init app
- 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
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/check-TS-react-native.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check TypeScript with different React Native versions
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand All @@ -13,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
react-native-version: ['0.71', '0.72', nightly]
react-native-version: ['0.71', '0.72', '0.73', '0.74.0-rc.6', nightly]
fail-fast: false
concurrency:
group: TS-react-native-nightly-${{ matrix.react-native-version }}-${{ github.ref }}
Expand All @@ -27,8 +29,12 @@ jobs:
cache: 'yarn'
- name: Clear annotations
run: scripts/clear-annotations.sh
- name: Install dependencies
run: yarn install
- name: Build repo
run: yarn build
- name: Install react-native ${{ matrix.react-native-version }}
run: yarn add react-native@${{ matrix.react-native-version }}
run: yarn add --dev react-native@${{ matrix.react-native-version }}
- name: Check source types
run: yarn type:check:src
- name: Check plugin types
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/check-expo-dev-client-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Check Expo dev-client nightly build
env:
YARN_ENABLE_HARDENED_MODE: 0
SCRIPT_PATH: reanimated_repo/.github/workflows/helper/configureDevClient.js
on:
pull_request:
paths:
Expand All @@ -7,9 +10,6 @@ on:
- cron: '0 0 * * *' # after publishing new nightly version on NPM
workflow_dispatch:

env:
SCRIPT_PATH: reanimated_repo/.github/workflows/helper/configureDevClient.js

jobs:
build_ios:
if: github.repository == 'software-mansion/react-native-reanimated'
Expand All @@ -30,7 +30,12 @@ jobs:
run: npx create-expo-app app
- name: Install expo-dev-client
working-directory: app
run: npm install expo-dev-client@next
run: |
if npm view expo dist-tags | grep -q 'next:' ; then
npm install expo@next
else
npm install expo@latest
fi
- name: Setup configuration
run: node ${{ env.SCRIPT_PATH }} setBundleIdentifier
- name: Expo prebuild
Expand Down Expand Up @@ -68,7 +73,12 @@ jobs:
run: npx create-expo-app app
- name: Install expo-dev-client
working-directory: app
run: npm install expo-dev-client@next
run: |
if npm view expo dist-tags | grep -q 'next:' ; then
npm install expo@next
else
npm install expo@latest
fi
- name: Setup configuration
run: node ${{ env.SCRIPT_PATH }} setBundleIdentifier
- name: Expo prebuild
Expand Down
2 changes: 2 additions & 0 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 Down
2 changes: 2 additions & 0 deletions .github/workflows/check-static-framework-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check static framework nightly build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/close-when-stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check for stale issues
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
schedule:
- cron: '37 21 * * *' # at 21:37 every day
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/detect-broken-urls-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Validate urls in source code
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test docs build

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand All @@ -18,7 +19,7 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v4
- name: Use Node.js 16
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/format-pull-request-description.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Format Pull Request Description

on:
pull_request:
types:
Expand All @@ -12,7 +11,7 @@ jobs:
- name: Update PR Description
uses: software-mansion-labs/pr-description@main
with:
content: ""
content: ''
regex: "<!-- .* -->\n"
regexFlags: img
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test iOS build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test macOS build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish to GitHub Pages

env:
YARN_ENABLE_HARDENED_MODE: 0
on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/needs-more-info.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check issue template
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
issues:
types: [opened, edited]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/needs-repro.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check for reproduction
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
issues:
types: [opened, edited]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/platforms.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check for platforms
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
issues:
types: [opened, edited]
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/static-example-apps-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test TypeScript and Lint
name: Test TypeScript and Lint in examples
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
merge_group:
Expand All @@ -7,6 +9,7 @@ on:
push:
branches:
- main

jobs:
check:
if: github.repository == 'software-mansion/react-native-reanimated'
Expand All @@ -29,7 +32,9 @@ jobs:
run: scripts/clear-annotations.sh

- name: Install root node dependencies
run: yarn
run: yarn install
- name: Build package
run: yarn build
- name: Install ${{ matrix.working-directory }} app node dependencies
working-directory: ${{ matrix.working-directory }}
run: yarn
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/static-root-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test TypeScript and Lint
name: Test TypeScript and Lint in root
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
merge_group:
Expand All @@ -7,6 +9,7 @@ on:
push:
branches:
- main

jobs:
check:
if: github.repository == 'software-mansion/react-native-reanimated'
Expand All @@ -25,6 +28,8 @@ jobs:
run: scripts/clear-annotations.sh
- name: Install node dependencies
run: yarn
- name: Build package
run: yarn build
- name: Check types
run: yarn type:check:all
- name: Lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tvos-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test tvOS build
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
Expand Down Expand Up @@ -83,4 +85,4 @@ jobs:

- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn react-native run-ios --no-packager --scheme TVOSExample-tvOS --simulator "Apple TV"
run: yarn react-native-tvos run-ios --no-packager --scheme TVOSExample-tvOS --simulator "Apple TV"
1 change: 0 additions & 1 deletion .github/workflows/validate-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Validate C++

on:
push:
branches:
Expand Down
Loading