mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-29 00:17:48 +01:00
fix circleci
This commit is contained in:
@@ -41,7 +41,19 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/writer
|
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- backend-dependencies-{{ checksum "package.json" }}
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: install backend deps
|
||||||
|
command: npm i
|
||||||
|
|
||||||
|
- save_cache:
|
||||||
|
paths:
|
||||||
|
- node_modules
|
||||||
|
key: backend-dependencies-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
@@ -49,16 +61,16 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: install frontend deps
|
name: install frontend deps
|
||||||
command: npm i
|
command: cd frontend && npm i
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- frontend/node_modules
|
||||||
key: frontend-dependencies-{{ checksum "package.json" }}
|
key: frontend-dependencies-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: test frontend
|
name: test frontend
|
||||||
command: npm test
|
command: cd frontend && npm test
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user