config.yml 435 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4
version: 2
jobs:
  build:
    docker:
陈帅's avatar
陈帅 committed
5
      - image: circleci/node:latest
陈帅's avatar
陈帅 committed
6 7 8 9 10 11
    steps:
      - checkout
      - run: npm install
      - run: npm run build
  test:
    docker:
12
      - image: circleci/node:latest-browsers
陈帅's avatar
陈帅 committed
13 14 15
    steps:
      - checkout
      - run: npm install
陈帅's avatar
陈帅 committed
16 17 18
      - run: 
          command : npm run test:all
          no_output_timeout : 30m
陈帅's avatar
陈帅 committed
19 20 21 22 23 24
workflows:
  version: 2
  build_and_test:
    jobs:
      - build
      - test