From ce2903c35d91bb07092962dd3519e6c2213476d5 Mon Sep 17 00:00:00 2001 From: NicolasLepinette Date: Sat, 27 Mar 2021 23:13:14 +0100 Subject: [PATCH] u --- .circleci/config.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ac09ba6..774c671 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 jobs: build: docker: - - image: cimg/node:14.10.1 # the primary container, where your job's commands are run + - image: 'circleci/node:12' # the primary container, where your job's commands are run steps: - checkout # check out the code in the project directory - restore_cache: @@ -10,6 +10,7 @@ jobs: - run: name: install node command: yarn global add node-gyp && yarn install + - run: yarn format:check - run: yarn test:ci - save_cache: key: yarn-packages-{{checksum "yarn.lock"}} diff --git a/package.json b/package.json index 9bc5dbc..09a400c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "react-scripts build", "test": "react-scripts test", "format:write": "prettier --write \"**/*.{js,vue,json,ts,tsx,md,yml,html}\"", - "format:check": "prettier --list-different **/*.{js,vue,json,ts,tsx,md,yml,html}" + "format:check": "prettier --list-different \"**/*.{js,vue,json,ts,tsx,md,yml,html}\"" }, "eslintConfig": { "extends": [