File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
3+ orbs :
4+ browser-tools : circleci/browser-tools@1.1.0
5+
36jobs :
47 run-tests :
58 parameters :
69 node-version :
710 type : string
811 docker :
9- - image : cimg/node:<< parameters.node-version >> # Primary execution image
12+ - image : cimg/node:<< parameters.node-version >>-browsers # Primary execution image
1013 auth :
1114 username : $DOCKERHUB_USERNAME
1215 password : $DOCKERHUB_PASSWORD
1518 username : $DOCKERHUB_USERNAME
1619 password : $DOCKERHUB_PASSWORD
1720 steps :
21+ - browser-tools/install-browser-tools
1822 - checkout
1923 - run :
2024 name : NPM install
2327 name : Run linting
2428 command : npm run lint
2529 - run :
26- name : Run tests with coverage
27- command : npm run coverage
30+ name : Run tests with browser
31+ command : npm run test:browser
2832 - store_artifacts :
2933 path : coverage
3034 publish-npm :
You can’t perform that action at this time.
0 commit comments