From 8fd75a1e2c39219a4edbdeb6fb26db0be4c70609 Mon Sep 17 00:00:00 2001 From: HenriBoulnois <72384047+HenriBoulnois@users.noreply.github.com> Date: Mon, 11 Oct 2021 10:19:36 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1773c0f..3035fbc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,11 @@ version: 2.1 jobs: yarninstall: - machine: - image: ubuntu-2004:202010-01 + docker: + - image: cimg/node:lts + auth: + username: henriboulnois + password: $DOCKERHUB_PASSWORD steps: - checkout - restore_cache: @@ -15,13 +18,26 @@ jobs: - "node_module" key: npm-v1-dependencies-{{ checksum "yarn.lock" }} yarnlint: - machine: - image: ubuntu-2004:202010-01 + docker: + - image: cimg/node:lts + auth: + username: henriboulnois + password: $DOCKERHUB_PASSWORD steps: - run: yarn lint + - run: yarn format:check + unittest: + docker: + - image: cimg/node:lts + auth: + username: henriboulnois + password: $DOCKERHUB_PASSWORD + steps: + - run: yarn test:ci workflows: build: jobs: - yarninstall - - yarnlint \ No newline at end of file + - yarnlint + - unittest \ No newline at end of file