diff --git a/.circleci/config.yml b/.circleci/config.yml index 238d0003..2cc499d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -157,8 +157,26 @@ jobs: type: string executor: <> steps: - - node/install: - node-version: <> + - when: &node-install-windows + condition: + equal: [ <>, windows ] + steps: + - run: + name: Install Node <> + shell: cmd.exe + command: | + nvm list + nvm install <> + nvm use <> + + node --version + npm --version + - unless: &node-install-non-windows + condition: + equal: [ <>, windows ] + steps: + - node/install: + node-version: <> - attach_workspace: at: . - knodes-typedoc-orb/install: @@ -199,8 +217,8 @@ jobs: executor: <> parallelism: 2 steps: - - node/install: - node-version: <> + - when: *node-install-windows + - unless: *node-install-non-windows - attach_workspace: at: . - run: