mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-23 07:19:58 +08:00
ci: update windows image to avoid using choco
This commit is contained in:
parent
f1985e1315
commit
039c1bde31
@ -61,7 +61,12 @@ executors:
|
|||||||
resource_class: windows.medium
|
resource_class: windows.medium
|
||||||
shell: powershell.exe -ExecutionPolicy Bypass
|
shell: powershell.exe -ExecutionPolicy Bypass
|
||||||
machine:
|
machine:
|
||||||
image: windows-server-2019
|
# Windows preview image that includes the following:
|
||||||
|
# - Visual Studio 2019 build tools
|
||||||
|
# - Node 12
|
||||||
|
# - yarn 1.17
|
||||||
|
# - Python 3 3.7.4
|
||||||
|
image: windows-server-2019-vs2019:201908-02
|
||||||
|
|
||||||
# Command Definitions
|
# Command Definitions
|
||||||
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
|
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Install nodejs and yarn via Chocolatey.
|
# Install nodejs and yarn via Chocolatey.
|
||||||
choco install nodejs --version 12.1.0 --no-progress
|
# choco install nodejs --version 12.1.0 --no-progress
|
||||||
choco install yarn --version 1.17.3 --no-progress
|
# choco install yarn --version 1.17.3 --no-progress
|
||||||
|
|
||||||
# Add PATH modifications to the Powershell profile. This is the win equivalent of .bash_profile.
|
# Add PATH modifications to the Powershell profile. This is the win equivalent of .bash_profile.
|
||||||
# https://docs.microsoft.com/en-us/previous-versions//bb613488(v=vs.85)
|
# https://docs.microsoft.com/en-us/previous-versions//bb613488(v=vs.85)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user