config.yml 426 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
Wei Zhu's avatar
Wei Zhu committed
16 17
      - run:
          command : npx vcr
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
18
          no_output_timeout : 30m
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
19 20 21 22 23
workflows:
  version: 2
  build_and_test:
    jobs:
      - build
Wei Zhu's avatar
Wei Zhu committed
24
      - test