diff --git a/.circleci/config.yml b/.circleci/config.yml index b236483..244e201 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,19 @@ -vversion: 2.1 +workflows: +version: 2.1 jobs: build: docker: - - image: cimg/node:14.10.1 # the primary container, where your job's comm> + - image: cimg/node:14.10.1 auth: username: mydockerhub-user password: $DOCKERHUB_PASSWORD # context / project UI env-var referen> steps: - - checkout # check out the code in the project directory + - checkout - run: yarn global add node-gyp && yarn install + - run: yarn lint + - run: yarn format:check + - run: yarn test:ci + - save_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ./node_modules