From 645bc995d79e6b275aa06326c234af7fa5ac8131 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Mon, 30 Nov 2020 09:14:51 +0100 Subject: [PATCH] Try to add a windows executor --- .circleci/config.yml | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3e854053509..c4c315d23f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,20 +61,39 @@ jobs: - run: name: Running tests with coverage command: npm run ci:coverage + windows-v10-latest: + executor: + name: win/default + shell: bash.exe + steps: + - checkout + - run: + name: Select Node 10 + command: nvm use 10 + - run: + name: Installing Dependencies + command: npm ci + - run: + name: Running tests + command: npm test windows-v14-latest: executor: name: win/default shell: bash.exe steps: + - run: + name: Configure git line breaks + command: git config --global core.autocrlf false - checkout - - restore_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} - run: - name: Install deps again + name: Select Node 14 + command: nvm use 14 + - run: + name: Installing Dependencies command: npm ci - run: name: Running tests - command: npm run test + command: npm test workflows: version: 2 @@ -102,9 +121,11 @@ workflows: filters: tags: only: /.*/ + - windows-v10-latest: + filters: + tags: + only: /.*/ - windows-v14-latest: - requires: - - analysis filters: tags: only: /.*/