fake-log/.circleci/config.yml

31 lines
466 B
YAML
Raw Normal View History

2018-08-22 11:28:52 +02:00
version: 2
jobs:
test:
working_directory: ~/fakelog
docker:
2021-06-03 18:24:52 +02:00
- image: circleci/node:14
2018-08-22 11:28:52 +02:00
steps:
- checkout
- restore_cache:
key: cache-{{ checksum "package-lock.json" }}
- run: npm install
2018-08-22 11:28:52 +02:00
- save_cache:
paths:
2018-08-22 11:36:25 +02:00
- ~/.npm
2018-08-22 11:28:52 +02:00
- ./node_modules
key: cache-{{ checksum "package-lock.json" }}
- run: npm run test
workflows:
version: 2
test:
jobs:
- test