Skip to content

Commit 233b1d4

Browse files
committed
fix commands
1 parent b80b2c3 commit 233b1d4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/template-testcli.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,16 @@ jobs:
4141
run: npx --yes @react-native-community/cli@latest init testrnx --version ${{ inputs.rnwVersion }} --skip-install --install-pods false --verbose --skip-git-init true
4242
working-directory: ../
4343

44+
- name: yarn add react-native-windows
45+
run: yarn add react-native-windows --version {{ inputs.rnwVersion }}
46+
working-directory: ../testrnx
47+
48+
- name: yarn
49+
run: yarn
50+
working-directory: ../testrnx
51+
4452
- name: add Windows (RNW via ${{ inputs.useRnwNuGet && 'NuGet' || 'Source' }})
45-
run: npx @react-native-community/cli@latest init-windows --template old/uwp-cpp-app --overwrite ${{ inputs.useRnwNuGet && '--experimentalNuGetDependency true' || '' }} --logging
53+
run: npx --yes react-native-windows-init --overwrite
4654
working-directory: ../testrnx
4755

4856
- name: link react-native-xaml

0 commit comments

Comments
 (0)