Skip to content

Commit 3ae6cd6

Browse files
committed
Merge branch 'next' into @jpiasecki/display-contents-button
2 parents 342ec01 + b64ba44 commit 3ae6cd6

48 files changed

Lines changed: 2029 additions & 1665 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/android-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
distribution: oracle
3434
java-version: 17
3535

36-
- name: Use Node.js 18
37-
uses: actions/setup-node@v4
36+
- name: Use Node.js 24
37+
uses: actions/setup-node@v6
3838
with:
39-
node-version: 18
39+
node-version: 24
4040
cache: yarn
4141

4242
- name: Install node dependencies

.github/workflows/check-relations-traversal-algorithm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- name: checkout
2424
uses: actions/checkout@v4
2525

26-
- name: Use Node.js 18
27-
uses: actions/setup-node@v4
26+
- name: Use Node.js 24
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: 18
29+
node-version: 24
3030
cache: yarn
3131

3232
- name: Install node dependencies

.github/workflows/docs-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: checkout
2222
uses: actions/checkout@v4
2323

24-
- name: Use Node.js 18
25-
uses: actions/setup-node@v4
24+
- name: Use Node.js 24
25+
uses: actions/setup-node@v6
2626
with:
27-
node-version: 18
27+
node-version: 24
2828
cache: yarn
2929

3030
- name: Install node dependencies

.github/workflows/ios-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
with:
3434
xcode-version: '16.1'
3535

36-
- name: Use Node.js 18
37-
uses: actions/setup-node@v4
36+
- name: Use Node.js 24
37+
uses: actions/setup-node@v6
3838
with:
39-
node-version: 18
39+
node-version: 24
4040
cache: yarn
4141

4242
- name: Install node dependencies

.github/workflows/kotlin-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
distribution: oracle
3131
java-version: 17
3232

33-
- name: Use Node.js 18
34-
uses: actions/setup-node@v4
33+
- name: Use Node.js 24
34+
uses: actions/setup-node@v6
3535
with:
36-
node-version: 18
36+
node-version: 24
3737
cache: yarn
3838

3939
- uses: actions/cache@v4

.github/workflows/macos-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: Use Node.js 22
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v6
3232
with:
3333
node-version: 22
3434
cache: yarn
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build package and publish on npm
2+
env:
3+
YARN_ENABLE_HARDENED_MODE: 0
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
npm-build:
9+
if: github.repository == 'software-mansion/react-native-gesture-handler'
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write # for OIDC
14+
env:
15+
PACKAGE_NAME: PLACEHOLDER # Will be reassigned later on.
16+
steps:
17+
- name: Check out
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node
21+
uses: actions/setup-node@v6
22+
with:
23+
node-version: 24
24+
cache: 'yarn'
25+
registry-url: https://registry.npmjs.org/
26+
27+
# Ensure npm 11.5.1 or later is installed for OIDC
28+
- name: Update npm
29+
run: npm install -g npm@latest
30+
31+
- name: Install node dependencies
32+
run: yarn install --immutable
33+
34+
- name: Build package
35+
id: build
36+
working-directory: packages/react-native-gesture-handler
37+
run: npm pack
38+
39+
- name: Add package name to env
40+
working-directory: packages/react-native-gesture-handler
41+
run: echo "PACKAGE_NAME=$(ls -l | egrep -o "react-native-gesture-handler-(.*)(=?\.tgz)")" >> $GITHUB_ENV
42+
43+
- name: Assert PACKAGE_NAME
44+
if: ${{ env.PACKAGE_NAME == 'PLACEHOLDER' }}
45+
run: exit 1 # If we end up here, it means that package was not generated.
46+
47+
- name: Upload npm package to GitHub
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: ${{ env.PACKAGE_NAME }}
51+
path: './packages/react-native-gesture-handler/${{ env.PACKAGE_NAME }}'
52+
53+
- name: Publish npm package
54+
working-directory: packages/react-native-gesture-handler
55+
run: npm publish $PACKAGE_NAME --provenance

.github/workflows/static-example-apps-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
- name: checkout
2727
uses: actions/checkout@v4
2828

29-
- name: Use Node.js 18
30-
uses: actions/setup-node@v4
29+
- name: Use Node.js 24
30+
uses: actions/setup-node@v6
3131
with:
32-
node-version: 18
32+
node-version: 24
3333
cache: yarn
3434

3535
- name: Install node dependencies

.github/workflows/static-root-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- name: checkout
2424
uses: actions/checkout@v4
2525

26-
- name: Use Node.js 18
27-
uses: actions/setup-node@v4
26+
- name: Use Node.js 24
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: 18
29+
node-version: 24
3030
cache: yarn
3131

3232
- name: Install node dependencies

.github/workflows/yarn-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v4
3333

3434
- name: Use Node.js
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v6
3636

3737
- name: Install root dependencies
3838
run: yarn install

0 commit comments

Comments
 (0)