Skip to content

Commit 4f008a4

Browse files
committed
Run unit tests under Windows to get some coverage on potential pathing or other issues
1 parent 7b07561 commit 4f008a4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ jobs:
2929
- run: npm ci
3030
- run: npm run build
3131
- run: npm test --workspace gyp-to-cmake --workspace react-native-node-api-cmake --workspace react-native-node-api-modules
32+
test-windows:
33+
name: Run tests on Windows
34+
runs-on: windows-latest
35+
steps:
36+
- uses: actions/checkout@v4
37+
- uses: actions/setup-node@v4
38+
with:
39+
node-version: lts/jod
40+
- run: npm ci
41+
- run: npm run build
42+
- run: npm test --workspace gyp-to-cmake --workspace react-native-node-api-cmake --workspace react-native-node-api-modules
43+
3244
test-macos:
3345
name: Run tests which requires MacOS
3446
runs-on: macos-latest

0 commit comments

Comments
 (0)