File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 9
9
directories :
10
10
- .npm
11
11
before_install :
12
- - curl -o- -L https://yarnpkg.com/install.sh | bash
12
+ - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
13
13
- export PATH="$HOME/.yarn/bin:$PATH"
14
14
install : true
15
15
script :
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ platform:
36
36
install :
37
37
- ps : Install-Product node $env:nodejs_version $env:platform
38
38
- ps : |
39
- (New-Object Net.WebClient).DownloadFile("https://yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
39
+ (New-Object Net.WebClient).DownloadFile("https://nightly. yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
40
40
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart
41
41
42
42
build : off
Original file line number Diff line number Diff line change @@ -229,5 +229,17 @@ npx create-react-app test-app-nested-paths-t3/aa/bb/cc/dd
229
229
cd test-app-nested-paths-t3/aa/bb/cc/dd
230
230
yarn start --smoke-test
231
231
232
+ # ******************************************************************************
233
+ # Test when PnP is enabled
234
+ # ******************************************************************************
235
+ cd " $temp_app_path "
236
+ echo $OSTYPE
237
+ YARN_PLUGNPLAY_OVERRIDE=1 npx create-react-app test-app-pnp
238
+ cd test-app-pnp
239
+ ! exists node_modules
240
+ exists .pnp.js
241
+ yarn start --smoke-test
242
+ yarn build
243
+
232
244
# Cleanup
233
245
cleanup
You can’t perform that action at this time.
0 commit comments