File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 3232 - name : Install dependencies
3333 run : npm install
3434
35- - name : Start DynamoDB Local
36- run : docker run -d -p 8000:8000 amazon/dynamodb-local
37-
38- - name : Wait for DynamoDB to become ready
39- run : |
40- until aws dynamodb list-tables --endpoint-url http://127.0.0.1:8000; do
41- echo "Waiting for local DynamoDB..."
42- sleep 1
43- done
44-
45- - name : Create Rooms table for testing
46- run : node test/integration-tests/scripts/create-local-table.js
47-
48- - name : Set up env vars
35+ - name : Set up env vars
4936 run : |
5037 echo "AWS_ACCESS_KEY_ID=FAKE_KEY" >> $GITHUB_ENV
5138 echo "AWS_SECRET_ACCESS_KEY=FAKE_SECRET" >> $GITHUB_ENV
5845 echo "HOTEL_NAME=AWS App Runner Hotel" >> $GITHUB_ENV
5946 echo "CI=true" >> $GITHUB_ENV
6047
48+ - name : Start DynamoDB Local
49+ run : docker run -d -p 8000:8000 amazon/dynamodb-local
50+
51+ - name : Wait for DynamoDB to become ready
52+ run : |
53+ until aws dynamodb list-tables --endpoint-url http://127.0.0.1:8000; do
54+ echo "Waiting for local DynamoDB..."
55+ sleep 1
56+ done
57+
58+ - name : Create Rooms table for testing
59+ run : node test/integration-tests/scripts/create-local-table.js
6160
6261 - name : Start server
6362 run : |
You can’t perform that action at this time.
0 commit comments