Skip to content

Commit e2b6172

Browse files
Fix CI issues regarding deps (#578)
* Restore packages and deps for Windows example * Do not update deps by msbuild * Update node modules lockfile * Build Windows example by specifying solution and project * Try using specific version of Windows runner * Temporarily use _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING * Disable all warnings related to EXT deprecation
1 parent 7a44226 commit e2b6172

File tree

3 files changed

+1071
-1018
lines changed

3 files changed

+1071
-1018
lines changed

.github/workflows/ReactNativeSlider-CI.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215

216216
build-Windows-app:
217217
name: Build example app Windows
218-
runs-on: windows-latest
218+
runs-on: windows-2022
219219
needs: [verify-example-sources]
220220
steps:
221221
- name: Ensure the cross-platform Git on Windows
@@ -227,5 +227,8 @@ jobs:
227227
- name: Install dependencies
228228
run: npm install
229229

230+
- name: Restore NuGet packages
231+
run: nuget restore .\example\windows\example.sln
232+
230233
- name: Build the Windows OS app
231-
run: cd example; npx react-native run-windows --arch x64 --no-launch --no-deploy --logging
234+
run: cd example; npx react-native run-windows --arch x64 --no-launch --no-deploy --logging --sln .\windows\example.sln --proj .\windows\example\example.vcxproj

0 commit comments

Comments
 (0)