From 74375cb3bb23e4fb91ef759eb491c87a7ce3cd7c Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 10:27:41 +0100 Subject: [PATCH] reset --- .circleci/config.yml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 64e12ce..dfc5610 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,27 +1,11 @@ version: 2.1 -workflows: - workflow: - jobs: - - hello1 - - yarn1 jobs: - hello1: + build: docker: - - image: 'circleci/node:12' + - image: cimg/node:14.10.1 # the primary container, where your job's commands are run + auth: + username: mydockerhub-user + password: $DOCKERHUB_PASSWORD # context / project UI env-var reference steps: - checkout # check out the code in the project directory - - run: - command: 'echo ok' - name: 'Hello World' - yarn1: - docker: - - image: 'circleci/node:12' - steps: - - checkout - - restore_cache: - key: yarn-v1-packages-{{ checksum "yarn.lock" }} - - run: yarn global add node-gyp && yarn install - - save_cache: - keys: yarn-v1-packages-{{ checksum "yarn.lock" }} - paths: - - ./node_modules + - run: echo "hello world" # run the `echo` command