From 6ce50df1757a381b56a43c7f06f3c2bc64bb2491 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Mon, 3 May 2021 12:50:14 -0700 Subject: [PATCH] Test against Node 12 versions that do & don't have good support for importing .js --- .circleci/config.yml | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2777751e..690bd939 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,9 +10,21 @@ executors: docker: - image: circleci/node:14 working_directory: ~/workspace - node12: + node12_latest: docker: - - image: circleci/node:12 + - image: circleci/node:12 + working_directory: ~/workspace + node12_0: + docker: + - image: circleci/node:12.0 + working_directory: ~/workspace + node12_17: + docker: + - image: circleci/node:12.17 + working_directory: ~/workspace + node12_16: + docker: + - image: circleci/node:12.16 working_directory: ~/workspace node10: docker: @@ -45,8 +57,19 @@ workflows: executor: node14 name: node_14 - build_and_test: - executor: node12 - name: node_12 + executor: node12_latest + name: node_12_latest + - build_and_test: + executor: node12_0 + name: node_12_0 + # 12.16 is the last version without good-enough ES module support + - build_and_test: + executor: node12_16 + name: node_12_16 + # 12.16 is the first version with good-enough ES module support + - build_and_test: + executor: node12_17 + name: node_12_17 - build_and_test: executor: node10 name: node_10