Skip to content

Commit

Permalink
chore(travis): Try and see if travis workspaces can speed up builds. …
Browse files Browse the repository at this point in the history
…Again.

Make sure to `sls dynamodb install` before we try to use `dynamodb-local`.

I guess we gotta set up some symlinks or something that don't get persisted in the node cache? Makes sense. Maybe?
  • Loading branch information
randytarampi committed May 8, 2020
1 parent 634a665 commit 35dfdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"preuninstall:dynamodb": "sls dynamodb remove",
"snyk-protect": "snyk protect",
"start": "yarn run dev",
"start:dynamodb-local": "yarn run start:dynamodb-local:start && yarn run start:dynamodb-local:migrate",
"start:dynamodb-local": "yarn sls dynamodb install && yarn run start:dynamodb-local:start && yarn run start:dynamodb-local:migrate",
"start:dynamodb-local:migrate": "sls dynamodb migrate --stage local",
"start:dynamodb-local:start": "java -Djava.library.path=./.dynamodb/DynamoDBLocal_lib -jar ./.dynamodb/DynamoDBLocal.jar -inMemory & echo $! > /tmp/ca.randytarampi.me.service.dynamo.pid",
"test": "yarn run pretest:dynamodb-local && yarn run test:actual",
Expand Down

0 comments on commit 35dfdb1

Please sign in to comment.