run redis as service

This commit is contained in:
realaravinth
2021-06-11 20:02:08 +05:30
parent dc53cd76d4
commit ffdd1865bb
3 changed files with 10 additions and 7 deletions

View File

@@ -33,6 +33,11 @@ jobs:
--health-retries 5
ports:
- 5432:5432
mcaptcha-redis:
image: mcaptcha/cache
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
@@ -50,9 +55,6 @@ jobs:
with:
node-version: '14.x'
- name: run mcaptcha cache redis instance
run: docker run -d -p 6379:6379 mcaptcha/cache
- name: Install JavaScript Dependencies
run: yarn install