config.yml 459 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
    steps:
      - checkout
      - run: npm install
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
9
      - run: npm run lint
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
10 11 12
      - run: npm run build
  test:
    docker:
13
      - image: circleci/node:latest-browsers
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
14 15 16
    steps:
      - checkout
      - run: npm install
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
17 18 19
      - run:
          command: npm run test:all
          no_output_timeout: 30m
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
20 21 22 23 24
workflows:
  version: 2
  build_and_test:
    jobs:
      - build
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
25
      - test