File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 5
5
node :
circleci/[email protected] # used to publish new NPM version
6
6
7
7
jobs :
8
+ unit :
9
+ description : Checks the code formatting
10
+ executor :
11
+ name : node/default
12
+ tag : ' 12'
13
+ steps :
14
+ - checkout
15
+ - node/with-cache :
16
+ steps :
17
+ - run : npm ci
18
+ - run : npm run format:check
19
+
8
20
publish :
21
+ description : Publishes the new version of the plugin to NPM
9
22
executor :
10
23
name : node/default
11
24
tag : ' 12'
19
32
workflows :
20
33
build :
21
34
jobs :
35
+ - unit
36
+
22
37
- cypress/install :
23
38
post-steps :
24
39
- run : npm run check:markdown
Original file line number Diff line number Diff line change 13
13
"report:coverage" : " nyc report --reporter=html" ,
14
14
"dev:no:coverage" : " start-test 1234 'cypress open --env coverage=false'" ,
15
15
"format" : " prettier --write '*.js'" ,
16
+ "format:check" : " prettier --check '*.js'" ,
16
17
"start:test:backend" : " nyc --silent node test-backend" ,
17
18
"cy:backend" : " cypress open --config-file cypress-backend.json" ,
18
19
"dev:backend" : " start-test start:test:backend 3003 cy:backend" ,
You can’t perform that action at this time.
0 commit comments