2727 node-version : 18
2828 - name : Install
2929 run : npm ci --ignore-scripts
30+ timeout-minutes : 10
3031 # Note: when pushing to main we want to test only what changed in
3132 # last commit. Otherwise we want to test all changes from origin/main.
3233 # So we set the right values for base and head commits depending
@@ -71,18 +72,18 @@ jobs:
7172 memcached :
7273 image : memcached:1.6.39-alpine
7374 ports :
74- - 11211:11211
75+ - 11211:11211
7576 mongo :
7677 image : mongo
7778 ports :
78- - 27017:27017
79+ - 27017:27017
7980 mssql :
8081 image : mcr.microsoft.com/mssql/server:2022-latest
8182 env :
8283 MSSQL_SA_PASSWORD : mssql_passw0rd
8384 ACCEPT_EULA : Y
8485 ports :
85- - 1433:1433
86+ - 1433:1433
8687 options : >-
8788 --health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P $MSSQL_SA_PASSWORD -C -Q 'select 1' -b -o /dev/null"
8889 --health-interval 1s
9798 MYSQL_DATABASE : otel_mysql_database
9899 MYSQL_ROOT_PASSWORD : rootpw
99100 ports :
100- - 3306:3306
101+ - 3306:3306
101102 options : >-
102103 --health-cmd="mysqladmin ping"
103104 --health-interval 10s
@@ -123,7 +124,7 @@ jobs:
123124 POSTGRES_DB : otel_pg_database
124125 POSTGRES_PASSWORD : postgres
125126 ports :
126- - 5432:5432
127+ - 5432:5432
127128 options : >-
128129 --health-cmd pg_isready
129130 --health-interval 10s
@@ -132,7 +133,7 @@ jobs:
132133 redis :
133134 image : redis
134135 ports :
135- - 6379:6379
136+ - 6379:6379
136137 options : >-
137138 --health-cmd "redis-cli ping"
138139 --health-interval 10s
@@ -141,11 +142,11 @@ jobs:
141142 cassandra :
142143 image : cassandra:3
143144 ports :
144- - 9042:9042
145+ - 9042:9042
145146 rabbitmq :
146147 image : rabbitmq:3
147148 ports :
148- - 22221:5672
149+ - 22221:5672
149150 env :
150151 RABBITMQ_DEFAULT_USER : username
151152 RABBITMQ_DEFAULT_PASS : password
@@ -197,7 +198,8 @@ jobs:
197198 with :
198199 node-version : ${{ matrix.node }}
199200 - name : Install
200- run : npm ci
201+ run : npm ci --ignore-scripts
202+ timeout-minutes : 10
201203 - name : Download Build Artifacts
202204 uses : actions/download-artifact@v5
203205 with :
@@ -241,7 +243,8 @@ jobs:
241243 - uses : actions/setup-node@v6
242244 with :
243245 node-version : ${{ matrix.node }}
244- - run : npm ci
246+ - run : npm ci --ignore-scripts
247+ timeout-minutes : 10
245248 - name : Download Build Artifacts
246249 uses : actions/download-artifact@v5
247250 with :
@@ -286,6 +289,7 @@ jobs:
286289 node-version : 18
287290 - name : Install
288291 run : npm ci --ignore-scripts
292+ timeout-minutes : 10
289293 # Note: Keep this in sync with the node versions from `test-all-versions` job.
290294 - name : Download Test Artifacts (18)
291295 uses : actions/download-artifact@v5
@@ -312,4 +316,3 @@ jobs:
312316 env :
313317 COMMIT_SHA : ${{ github.event.pull_request.head.sha }}
314318 PR_BRANCH_NAME : ${{ github.event.pull_request.head.label }}
315-
0 commit comments