Skip to content

Commit 098bb65

Browse files
authored
chore: Add Redis/Dynamo for doc publish steps as well. (#172)
1 parent da2dbd5 commit 098bb65

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/manual-publish-docs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ jobs:
2828
with:
2929
node-version: 16.x
3030
registry-url: 'https://registry.npmjs.org'
31+
32+
- name: "Setup Redis"
33+
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-redis' }}
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install redis-server
37+
sudo service redis-server start
38+
39+
- name: "Setup DynamoDB"
40+
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-dynamodb' }}
41+
run: |
42+
sudo docker run -d -p 8000:8000 amazon/dynamodb-local
43+
3144
- name: 'Set WORKSPACE_NAME variable'
3245
run: |
3346
WORKSPACE_NAME=$(./scripts/package-name.sh ${{ inputs.workspace_path }})

0 commit comments

Comments
 (0)