diff --git a/.node-version b/.node-version index e56b200..31102b2 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -12.8.1 +14.18.1 diff --git a/circle.yml b/circle.yml index 96fc883..dba43b3 100644 --- a/circle.yml +++ b/circle.yml @@ -1,9 +1,20 @@ # https://circleci.com/orbs/registry/orb/circleci/node +version: 2.1 +orbs: + node: circleci/node@4.7.0 jobs: build: - executor: node/default + docker: + - image: cimg/node:14.18.1 steps: - checkout + - run: + name: Environment Details + command: | + echo "Node.js version" + node --version + echo "npm version" + npm --version - node/install-packages - run: name: Run Tests @@ -11,6 +22,3 @@ jobs: - run: name: Semantic Release command: npm run semantic-release || true -orbs: - node: circleci/node@4.7.0 -version: 2.1