File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 99 directories :
1010 - .npm
1111before_install :
12- - curl -o- -L https://yarnpkg.com/install.sh | bash
12+ - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
1313 - export PATH="$HOME/.yarn/bin:$PATH"
1414install : true
1515script :
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ platform:
3636install :
3737 - ps : Install-Product node $env:nodejs_version $env:platform
3838 - 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")
4040 cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart
4141
4242build : 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
229229cd test-app-nested-paths-t3/aa/bb/cc/dd
230230yarn start --smoke-test
231231
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+
232244# Cleanup
233245cleanup
You can’t perform that action at this time.
0 commit comments