parent
c17843106a
commit
24be13ee63
1 changed files with 66 additions and 65 deletions
|
@ -12,9 +12,9 @@ jobs:
|
|||
container: node:20-bullseye
|
||||
|
||||
services:
|
||||
# Label used to access the service container
|
||||
mydb:
|
||||
image: postgres:latest
|
||||
container_name: mydb
|
||||
env:
|
||||
POSTGRES_USER: alice
|
||||
POSTGRES_PASSWORD: iEx4Vj7zBb6
|
||||
|
@ -23,6 +23,7 @@ jobs:
|
|||
# - 5432:5432
|
||||
options: |
|
||||
--health-cmd pg_isready
|
||||
--name mydb
|
||||
--hostname mydb
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
|
@ -30,7 +31,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# - name: Set up Node.js
|
||||
# uses: actions/setup-node@v2
|
||||
|
|
Loading…
Add table
Reference in a new issue