fix app.json ENV vars (#10)
* convert integer to string. * cache npm modules in CircleCI. * fix app.json.
This commit is contained in:
parent
4991ef7314
commit
7f40632103
|
@ -28,6 +28,9 @@ jobs:
|
|||
- gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
|
||||
- gem-cache-{{ .Branch }}
|
||||
- gem-cache
|
||||
- npm-deps-{{ .Branch }}-{{ checksum "package.json" }}
|
||||
- npm-deps-{{ checksum "package.json" }}
|
||||
- npm-deps
|
||||
|
||||
- run:
|
||||
name: install dependencies
|
||||
|
@ -39,15 +42,32 @@ jobs:
|
|||
key: gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
|
||||
paths:
|
||||
- vendor/bundle
|
||||
|
||||
- save_cache:
|
||||
key: gem-cache-{{ .Branch }}
|
||||
paths:
|
||||
- vendor/bundle
|
||||
|
||||
- save_cache:
|
||||
key: gem-cache
|
||||
paths:
|
||||
- vendor/bundle
|
||||
|
||||
- save_cache:
|
||||
key: npm-deps-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
|
||||
paths:
|
||||
- .node_modules
|
||||
|
||||
- save_cache:
|
||||
key: npm-deps-{{ checksum "package.json" }}
|
||||
paths:
|
||||
- .node_modules
|
||||
|
||||
- save_cache:
|
||||
key: npm-deps
|
||||
paths:
|
||||
- .node_modules
|
||||
|
||||
# Database setup
|
||||
- run: bundle exec rails db:create
|
||||
- run: bundle exec rails db:schema:load
|
||||
|
|
Loading…
Reference in New Issue