From 53de3624879cf9aab1a6a3e8c28bbcd82cb2228a Mon Sep 17 00:00:00 2001 From: lamya-rey <61109480+lamya-rey@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:39:42 +0100 Subject: [PATCH] last commit --- circleci/config.yml | 89 --------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 circleci/config.yml diff --git a/circleci/config.yml b/circleci/config.yml deleted file mode 100644 index 7e9011b..0000000 --- a/circleci/config.yml +++ /dev/null @@ -1,89 +0,0 @@ -version: 2.1 -workflows: - build_and_test: - jobs: - - build - - lint: - requires: - - build - - tests: - requires: - - build - - e2e: - requires: - - build - - doc: - requires: - - build -jobs: - build: - docker: - - image: "circleci/node:12" - steps: - - checkout - - restore_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - - run: yarn global add node-gyp && yarn install - - save_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - paths: - - ./node_modules - tests: - docker: - - image: "circleci/node:12" - steps: - - checkout - - restore_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - - run: yarn test:ci - - save_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - paths: - - ./node_modules - lint: - docker: - - image: "circleci/node:12" - steps: - - checkout - - restore_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - - run: yarn lint && yarn format:check - - save_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - paths: - - ./node_modules - e2e: - docker: - - image: "circleci/node:12" - - image: "circleci/postgres:9.6.2-alpine" - environment: - POSTGRES_USER: lamya-ray - POSTGRES_DB: testci - POSTGRES_PASSWORD: testci1 - steps: - - checkout - - restore_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - - run: - command: yarn test:e2e - environment: - DATABASE_URL: postgres://lamya-ray:testci1@localhost:5432/testci - JWT_SECRET: m1iii - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - - save_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - paths: - - ./node_modules - doc: - docker: - - image: "circleci/node:12" - steps: - - checkout - - restore_cache: - key: yarn-cache{{ checksum "yarn.lock" }} - - run: - command: yarn doc:build - - store_artifacts: - path: ./doc-server