From 46422345a6acbc24887eeabf74f5f199c15a844f Mon Sep 17 00:00:00 2001 From: guidezSeb Date: Mon, 2 Nov 2020 12:01:50 +0100 Subject: [PATCH] step 4 change node version --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 31a4dce..b8f3098 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ orbs: jobs: build: # name of your job docker: - - image: 'cimg/node:14.10.1' + - image: 'cimg/node:12' environment: DATABASE_URL: postgresql://root@localhost/circle_test JWT_SECRET: something @@ -24,7 +24,11 @@ jobs: - checkout - restore_cache: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - + - run: yarn global add node-gyp + - run: yarn install + - run: yarn lint + - run: yarn format:check + - run: yarn test:ci - run: yarn test:e2e - save_cache: key: npm-v1-dependencies-{{ checksum "yarn.lock" }}