|
|
@ -1,6 +1,6 @@ |
|
|
version: 2 |
|
|
version: 2 |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
|
|
|
|
|
|
build_and_test: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:dubnium-browsers |
|
|
- image: circleci/node:dubnium-browsers |
|
|
working_directory: ~/repo |
|
|
working_directory: ~/repo |
|
|
@ -13,7 +13,10 @@ jobs: |
|
|
- dependencies- |
|
|
- dependencies- |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn run build |
|
|
- run: yarn run build |
|
|
|
|
|
- run: yarn run test |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} |
|
|
key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} |
|
|
|
|
|
|
|
|
|
|
|
|