We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d9bc1 commit 1399227Copy full SHA for 1399227
1 file changed
.github/workflows/run-jest-tests.yml
@@ -0,0 +1,38 @@
1
+name: Run Jest tests
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - ./**/*.js
7
+ - ./**/*.jsx
8
+ - ./**/*.ts
9
+ - ./**/*.tsx
10
+ push:
11
+ branches:
12
+ - main
13
+ workflow_dispatch:
14
15
+jobs:
16
+ build:
17
+ if: github.repository == 'software-mansion/react-native-gesture-handler'
18
19
+ runs-on: ubuntu-latest
20
+ concurrency:
21
+ group: jest-${{ github.ref }}
22
+ cancel-in-progress: true
23
24
+ steps:
25
+ - name: checkout
26
+ uses: actions/checkout@v4
27
28
+ - name: Use Node.js 22
29
+ uses: actions/setup-node@v6
30
+ with:
31
+ node-version: 22
32
+ cache: yarn
33
34
+ - name: Install node dependencies
35
+ run: yarn
36
37
+ - name: Run jest tests
38
+ run: yarn test
0 commit comments