File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ concurrency:
1313 cancel-in-progress : true
1414
1515jobs :
16- # Label of the container job
17- container-job :
16+ run :
1817 # Containers must run in Linux based operating systems
1918 runs-on : linux-x86-n2-32
2019 # Docker Hub image that `container-job` executes in
3332 --health-timeout 5s
3433 --health-retries 5
3534
35+ steps :
36+ # Downloads a copy of the code in your repository before running CI tests
37+ - name : Check out repository code
38+ uses : actions/checkout@v5
39+
40+ # Performs a clean installation of all dependencies in the `package.json` file
41+ # For more information, see https://docs.npmjs.com/cli/ci.html
42+ - name : Install dependencies
43+ run : npm ci
44+
45+ - name : Connect to Redis
46+ # Runs a script that creates a Redis client, populates
47+ # the client with data, and retrieves data
48+ run : node client.js
49+ # Environment variable used by the `client.js` script to create a new Redis client.
50+ env :
51+ # The hostname used to communicate with the Redis service container
52+ REDIS_HOST : redis
53+ # The default Redis port
54+ REDIS_PORT : 6379
55+
56+
3657
You can’t perform that action at this time.
0 commit comments