diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a02b55..baa53e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ workflows: jobs: build: docker: - - image: cimg/node:12.18 + - image: cimg/node:14.10.1 steps: - checkout - restore_cache: @@ -31,7 +31,7 @@ jobs: - ./node_modules lint: docker: - - image: cimg/node:12.18 + - image: cimg/node:14.10.1 steps: - checkout - restore_cache: @@ -42,7 +42,7 @@ jobs: command: yarn lint && yarn format:check test: docker: - - image: cimg/node:12.18 + - image: cimg/node:14.10.1 steps: - checkout - restore_cache: @@ -70,7 +70,7 @@ jobs: - restore_cache: name: Restore Yarn Package Cache keys: - - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - yarn-packages-v2{{ checksum "yarn.lock" }} - run: name: "E2e Test" command: yarn test:e2e diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f8bb065 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM node:14.10.1 +COPY ["package.json", "yarn.lock", "./"] +RUN yarn install +COPY . . +CMD ["yarn", "start"] \ No newline at end of file