From 8400802a6cddd671c777b704af346d827e615c09 Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 10:22:57 +0100 Subject: [PATCH] two jobs --- .circleci/config.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3dd486b..de5ff2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,22 @@ version: 2.1 +workflows: + workflow: + jobs: + - yarnlint + - yarntest jobs: - build: + yarnlint: docker: - 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' + yarntest: + docker: + - image: cimg/node:14.10.1 # the primary container, where your job's commands are run + steps: - run: yarn global add node-gyp && yarn install - restore_cache: keys: