Skip to content

Commit 575f547

Browse files
alan-agius4mgechev
authored andcommitted
ci: use windows-server-2019-vs2019:stable
1 parent d88c5f8 commit 575f547

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

.circleci/config.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ executors:
6161
resource_class: windows.medium
6262
shell: powershell.exe -ExecutionPolicy Bypass
6363
machine:
64-
image: windows-server-2019
64+
# Contents of this image:
65+
# https://circleci.com/docs/2.0/hello-world-windows/#software-pre-installed-in-the-windows-image
66+
image: windows-server-2019-vs2019:stable
6567

6668
# Command Definitions
6769
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
@@ -72,11 +74,10 @@ commands:
7274
- attach_workspace:
7375
at: *workspace_location
7476
setup_windows:
75-
steps:
76-
- run:
77-
# Need to install node and yarn before to ensure correct versions.
78-
name: Setup windows node environment
79-
command: ./.circleci/windows-env.ps1
77+
steps:
78+
- run: nvm install 12.1.0
79+
- run: nvm use 12.1.0
80+
- run: npm install -g [email protected]
8081
- run: node --version
8182
- run: yarn --version
8283

.circleci/windows-env.ps1

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)