-
-
Notifications
You must be signed in to change notification settings - Fork 1k
38 lines (31 loc) · 757 Bytes
/
run-jest-tests.yml
File metadata and controls
38 lines (31 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Run Jest tests
on:
pull_request:
paths:
- '**/*.js'
- '**/*.jsx'
- '**/*.ts'
- '**/*.tsx'
push:
branches:
- main
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: ubuntu-latest
concurrency:
group: jest-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
- name: Install node dependencies
run: yarn --immutable
- name: Run jest package tests
run: yarn workspace react-native-gesture-handler test