File tree Expand file tree Collapse file tree 1 file changed +37
-37
lines changed
Expand file tree Collapse file tree 1 file changed +37
-37
lines changed Original file line number Diff line number Diff line change @@ -44,43 +44,43 @@ jobs:
4444 env :
4545 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
4646
47- tests :
48- name : Run Tests
49- runs-on : ubuntu-latest
50- container : node:24
51-
52- services :
53- redis :
54- image : redis
55- options : >-
56- --health-cmd "redis-cli ping"
57- --health-interval 10s
58- --health-timeout 5s
59- --health-retries 5
60-
61- strategy :
62- matrix :
63- node : [24.x]
64-
65- steps :
66- - name : Check out Git repository
67- uses : actions/checkout@v4
68-
69- - name : Install Node.js dependencies
70- run : npm ci
71-
72- - name : Run tests
73- run : npm run test
74- env :
75- NODE_ENV : test
76- db__host : redis
77- db__port : 6379
78-
79- - uses : actions/upload-artifact@v5
80- if : always()
81- with :
82- name : Test Reporters - Node v${{ matrix.node }}
83- path : reports/**
47+ tests :
48+ name : Run Tests
49+ runs-on : ubuntu-latest
50+ container : node:24
51+
52+ services :
53+ redis :
54+ image : redis
55+ options : >-
56+ --health-cmd "redis-cli ping"
57+ --health-interval 10s
58+ --health-timeout 5s
59+ --health-retries 5
60+
61+ strategy :
62+ matrix :
63+ node : [24.x]
64+
65+ steps :
66+ - name : Check out Git repository
67+ uses : actions/checkout@v4
68+
69+ - name : Install Node.js dependencies
70+ run : npm ci
71+
72+ - name : Run tests
73+ run : npm run test
74+ env :
75+ NODE_ENV : test
76+ db__host : redis # Double underscore for nested config
77+ db__port : 6379
78+
79+ - uses : actions/upload-artifact@v5
80+ if : always()
81+ with :
82+ name : Test Reporters - Node v${{ matrix.node }}
83+ path : reports/**
8484
8585 build_image :
8686 name : Build Image
You can’t perform that action at this time.
0 commit comments