NicolasLepinette 5 years ago
parent
commit
ce2903c35d
  1. 3
      .circleci/config.yml
  2. 2
      package.json

3
.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"}}

2
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": [

Loading…
Cancel
Save