@@ -89,18 +89,31 @@ jobs:
89
89
- uses : actions/checkout@v4
90
90
- uses : ./.github/actions/testagent/start
91
91
- uses : ./.github/actions/node/setup
92
- - run : yarn install --ignore-engines
92
+ - id : pkg
93
+ run : |
94
+ content=`cat ./package.json | tr '\n' ' '`
95
+ echo "json=$content" >> $GITHUB_OUTPUT
96
+ - id : extract
97
+ run : |
98
+ version="${{fromJson(steps.pkg.outputs.json).version}}"
99
+ majorVersion=$(echo "$version" | cut -d '.' -f 1)
100
+ echo "Major Version: $majorVersion"
101
+ echo "MAJOR_VERSION=$majorVersion" >> $GITHUB_ENV
93
102
- uses : ./.github/actions/node/oldest
94
- - run : yarn test:plugins:ci
103
+ - name : Install dependencies and run tests
104
+ if : env.MAJOR_VERSION != '5'
105
+ run : |
106
+ yarn install --ignore-engines
107
+ yarn test:plugins:ci
95
108
- if : always()
96
109
uses : ./.github/actions/testagent/logs
97
110
- uses : codecov/codecov-action@v3
98
111
99
112
aerospike-5 :
100
113
strategy :
101
114
matrix :
102
- node-version : [16 ]
103
- range : ['5.5 .0 - 5.7.0']
115
+ node-version : [18 ]
116
+ range : ['5.2 .0 - 5.7.0']
104
117
include :
105
118
- node-version : 20
106
119
range : ' >=5.8.0'
@@ -132,7 +145,7 @@ jobs:
132
145
with :
133
146
node-version : ${{ matrix.node-version }}
134
147
- name : Install dependencies and run tests
135
- if : env.MAJOR_VERSION != '3 '
148
+ if : env.MAJOR_VERSION == '5 '
136
149
run : |
137
150
yarn install --ignore-engines
138
151
yarn test:plugins:ci
@@ -399,8 +412,6 @@ jobs:
399
412
- uses : ./.github/actions/testagent/start
400
413
- uses : ./.github/actions/node/setup
401
414
- run : yarn install
402
- - uses : ./.github/actions/node/16
403
- - run : yarn test:plugins:ci
404
415
- uses : ./.github/actions/node/18
405
416
- run : yarn test:plugins:ci
406
417
- uses : ./.github/actions/node/20
@@ -587,8 +598,6 @@ jobs:
587
598
- uses : ./.github/actions/testagent/start
588
599
- uses : ./.github/actions/node/setup
589
600
- run : yarn install
590
- - uses : ./.github/actions/node/16
591
- - run : yarn test:plugins:ci
592
601
- uses : ./.github/actions/node/18
593
602
- run : yarn test:plugins:ci
594
603
- uses : ./.github/actions/node/20
@@ -608,8 +617,6 @@ jobs:
608
617
- uses : ./.github/actions/testagent/start
609
618
- uses : ./.github/actions/node/setup
610
619
- run : yarn install
611
- - uses : ./.github/actions/node/16
612
- - run : yarn test:plugins:ci
613
620
- uses : ./.github/actions/node/18
614
621
- run : yarn test:plugins:ci
615
622
- uses : ./.github/actions/node/20
@@ -884,8 +891,6 @@ jobs:
884
891
- uses : ./.github/actions/testagent/start
885
892
- uses : ./.github/actions/node/setup
886
893
- run : yarn install
887
- - uses : ./.github/actions/node/16
888
- - run : yarn test:plugins:ci
889
894
- uses : ./.github/actions/node/18
890
895
- run : yarn test:plugins:ci
891
896
- uses : ./.github/actions/node/20
@@ -916,8 +921,9 @@ jobs:
916
921
- uses : actions/setup-node@v3
917
922
with :
918
923
node-version : ${{ matrix.node-version }}
919
- - run : yarn install
920
- - run : yarn test:plugins:ci
924
+ - run : yarn install --ignore-engines
925
+ - run : yarn config set ignore-engines true
926
+ - run : yarn test:plugins:ci --ignore-engines
921
927
- if : always()
922
928
uses : ./.github/actions/testagent/logs
923
929
- uses : codecov/codecov-action@v3
@@ -992,12 +998,15 @@ jobs:
992
998
SERVICES : oracledb
993
999
DD_TEST_AGENT_URL : http://testagent:9126
994
1000
steps :
995
- # Needs to remain on v3 for now due to GLIBC version
996
1001
- uses : actions/checkout@v3
997
- - uses : ./.github/actions/node/setup
1002
+ - uses : actions/setup-node@v3
1003
+ with :
1004
+ cache : yarn
1005
+ node-version : ' 16'
998
1006
- run : yarn install --ignore-engines
999
- - run : yarn services
1000
- - run : yarn test:plugins
1007
+ - run : yarn config set ignore-engines true
1008
+ - run : yarn services --ignore-engines
1009
+ - run : yarn test:plugins --ignore-engines
1001
1010
- uses : codecov/codecov-action@v3
1002
1011
1003
1012
paperplane :
@@ -1147,7 +1156,7 @@ jobs:
1147
1156
- run : yarn install
1148
1157
- uses : ./.github/actions/node/oldest
1149
1158
- run : yarn test:plugins:ci
1150
- - uses : ./.github/actions/node/16
1159
+ - uses : ./.github/actions/node/latest
1151
1160
- run : yarn test:plugins:ci
1152
1161
- if : always()
1153
1162
uses : ./.github/actions/testagent/logs
0 commit comments