Skip to content

Commit

Permalink
ci: use windows-server-2019-vs2019:stable
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and mgechev committed Jan 9, 2020
1 parent d88c5f8 commit 575f547
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
13 changes: 7 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ executors:
resource_class: windows.medium
shell: powershell.exe -ExecutionPolicy Bypass
machine:
image: windows-server-2019
# Contents of this image:
# https://circleci.com/docs/2.0/hello-world-windows/#software-pre-installed-in-the-windows-image
image: windows-server-2019-vs2019:stable

# Command Definitions
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
Expand All @@ -72,11 +74,10 @@ commands:
- attach_workspace:
at: *workspace_location
setup_windows:
steps:
- run:
# Need to install node and yarn before to ensure correct versions.
name: Setup windows node environment
command: ./.circleci/windows-env.ps1
steps:
- run: nvm install 12.1.0
- run: nvm use 12.1.0
- run: npm install -g yarn@1.17.3
- run: node --version
- run: yarn --version

Expand Down
9 changes: 0 additions & 9 deletions .circleci/windows-env.ps1

This file was deleted.

0 comments on commit 575f547

Please sign in to comment.