Skip to content

Commit 74e5d4a

Browse files
committed
Run simple tests on ubuntu and windows only
1 parent 0864d89 commit 74e5d4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
simple-tests:
2222
strategy:
2323
matrix:
24-
runner: [ubuntu-latest, windows-latest, macos-latest]
24+
runner: [ubuntu-latest, windows-latest]
2525
name: Run simple tests (${{ matrix.runner }})
2626
runs-on: ${{ matrix.runner }}
2727
steps:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: lts/jod
3232
- run: npm ci
33-
- run: npm test -- --exclude @react-native-node-api/node-addon-examples
33+
- run: npx nx run-many -t test --exclude @react-native-node-api/node-addon-examples
3434
macos-tests:
3535
name: Run tests which requires MacOS
3636
runs-on: macos-latest
@@ -49,4 +49,4 @@ jobs:
4949
# Version here should match the one in React Native template and packages/cmake-rn/src/cli.ts
5050
- run: sdkmanager --install "ndk;27.1.12297006"
5151
- run: npm ci
52-
- run: npm test -- -p @react-native-node-api/node-addon-examples
52+
- run: npx nx run-many -t test

0 commit comments

Comments
 (0)