From a3f14b75710fe93b64588ee7538f065d3a0a3e08 Mon Sep 17 00:00:00 2001 From: NicolasLepinette Date: Sun, 28 Mar 2021 10:51:34 +0200 Subject: [PATCH] u --- .circleci/config.yml | 39 ++++++++++----------------------------- .gitignore | 23 +++++++++++++++++++++++ 2 files changed, 33 insertions(+), 29 deletions(-) create mode 100644 .gitignore diff --git a/.circleci/config.yml b/.circleci/config.yml index 45256a3..7384ee6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,38 +1,19 @@ version: 2.1 -workflows: - starter: - jobs: - - yarn - install: - jobs: - - yarn - - checks: - requires: - - yarn - yarn: +jobs: + build: docker: - - image: circleci/node:12 + - image: cimg/node:14.10.1 # the primary container, where your job's commands are run steps: - - checkout + - checkout # check out the code in the project directory - restore_cache: - key: yarn-packages-{{ checksum "yarn.lock" }} - - run: yarn global add node-gyp && yarn install - - save_cache: - key: yarn-packages-{{ checksum "yarn.lock" }} - paths: - - ./node_modules - - checks: - docker: - - image: circleci/node:12 - steps: - - checkout - - restore_cache: - key: yarn-packages-{{ checksum "yarn.lock" }} + key: yarn-packages-{{checksum "yarn.lock"}} + - run: + name: install node + command: 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" }} + key: yarn-packages-{{checksum "yarn.lock"}} paths: - - ./node_modules \ No newline at end of file + - ./node_module \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24cdedf --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* \ No newline at end of file