File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,20 @@ jobs:
18
18
node-version : lts/jod
19
19
- run : npm ci
20
20
- run : npm run lint
21
- test-simple :
22
- name : Run tests which doesn't require MacOS
23
- runs-on : ubuntu-latest
24
- steps :
25
- - uses : actions/checkout@v4
26
- - uses : actions/setup-node@v4
27
- with :
28
- node-version : lts/jod
29
- - run : npm ci
30
- - run : npm run build
31
- - run : npm test --workspace gyp-to-cmake --workspace cmake-rn --workspace react-native-node-api
32
- test-windows :
33
- name : Run tests on Windows
34
- runs-on : windows-latest
21
+ simple-tests :
22
+ strategy :
23
+ matrix :
24
+ runner : [ubuntu-latest, windows-latest, macos-latest]
25
+ name : Run simple tests (${{ matrix.runner }})
26
+ runs-on : ${{ matrix.runner }}
35
27
steps :
36
28
- uses : actions/checkout@v4
37
29
- uses : actions/setup-node@v4
38
30
with :
39
31
node-version : lts/jod
40
32
- run : npm ci
41
33
- run : npm test -- --exclude @react-native-node-api/node-addon-examples
42
-
43
- test-macos :
34
+ macos-tests :
44
35
name : Run tests which requires MacOS
45
36
runs-on : macos-latest
46
37
steps :
58
49
# Version here should match the one in React Native template and packages/cmake-rn/src/cli.ts
59
50
- run : sdkmanager --install "ndk;27.1.12297006"
60
51
- run : npm ci
61
- - run : npm test
52
+ - run : npm test -- -p @react-native-node-api/node-addon-examples
You can’t perform that action at this time.
0 commit comments