mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 06:49:18 +01:00
Fix cicleci config
This commit is contained in:
parent
55e877a81b
commit
a8c4f4e1a8
@ -1,20 +1,17 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
defaults: &defaults
|
|
||||||
working_directory: ~/repo
|
|
||||||
docker:
|
|
||||||
- image: circleci/node:8.9.1
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
<<: *defaults
|
working_directory: ~/gatsby-starter-lumen
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:8.9.1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- v1-dependencies-{{ checksum "yarn.lock" }}
|
- dependencies-{{ checksum "yarn.lock" }}
|
||||||
# fallback to using the latest cache if no exact match is found
|
# fallback to using the latest cache if no exact match is found
|
||||||
- v1-dependencies-
|
- dependencies-
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install and build package
|
name: Install and build package
|
||||||
@ -35,7 +32,8 @@ jobs:
|
|||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
key: v1-dependencies-{{ checksum "yarn.lock" }}
|
key: dependencies-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_test:
|
build_test:
|
||||||
|
Loading…
Reference in New Issue
Block a user