mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 11:45:24 +01:00
Fixed CircleCI cache to include {{arch}}
This commit is contained in:
parent
d59d9cde95
commit
fc7395df96
1 changed files with 4 additions and 4 deletions
|
@ -7,14 +7,14 @@ templates:
|
||||||
name: "Create artifacts directory"
|
name: "Create artifacts directory"
|
||||||
command: mkdir /tmp/artifacts
|
command: mkdir /tmp/artifacts
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v1-dependencies-{{ checksum "package.json" }}
|
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
key: v1-dependencies-{{ checksum "package.json" }}
|
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- run: mkdir -p /tmp/artifacts/logs
|
- run: mkdir -p /tmp/artifacts/logs
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
@ -30,14 +30,14 @@ templates:
|
||||||
name: "Create artifacts directory"
|
name: "Create artifacts directory"
|
||||||
command: mkdir /tmp/artifacts
|
command: mkdir /tmp/artifacts
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v1-dependencies-{{ checksum "package.json" }}
|
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
key: v1-dependencies-{{ checksum "package.json" }}
|
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- run: mkdir -p /tmp/artifacts/logs
|
- run: mkdir -p /tmp/artifacts/logs
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
Loading…
Reference in a new issue