5353 - name : Bootstrap dependencies
5454 run : npm ci --ignore-scripts
5555 - name : Verify Commit Linting
56- run : |-
56+ run : |
5757 npm exec \
5858 --no \
5959 --package=@commitlint/cli \
@@ -103,13 +103,11 @@ jobs:
103103 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104104 with :
105105 fetch-depth : 1
106+ submodules : true
106107 - name : Run test harness
107- uses : ./test
108- with :
109- node-version : ${{ github.matrix.node-version }}
110- db2-version : ${{ github.matrix.db2-version }}
111- _internal-mode : true
112-
108+ env :
109+ DB2_VERSION : ${{ matrix.db2-version }}
110+ run : ./cicd/well-known/test-harness.sh
113111 test-ibmdb :
114112 name : Cross-test (IBM DB)
115113 runs-on : ubuntu-24.04
@@ -133,8 +131,28 @@ jobs:
133131 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
134132 with :
135133 fetch-depth : 1
136- - name : Run test harness
137- uses : loopbackio/loopback-ibmdb/test@ci/ghaction-test
134+ path : loopback-connector-db2
135+ submodules : true
136+ - name : Clone IBM DB base connector repository
137+ run : |
138+ git clone \
139+ --branch=ci/ghaction-test \
140+ --depth=1 \
141+ https://github.com/loopbackio/loopback-ibmdb.git
142+ cd loopback-ibmdb
143+ git submodule update --init --depth=1
144+ - name : Setup Node.js
145+ uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
138146 with :
139- node-version : ${{ github.matrix.node-version }}
140- db2-version : ${{ github.matrix.db2-version }}
147+ node-version : ${{ matrix.node-version }}
148+ cache : npm
149+ cache-dependency-path : |
150+ ./loopback-ibmdb/package-lock.json
151+ ./loopback-connector-db2/package-lock.json
152+ - name : Setup and run test harness
153+ env :
154+ DB2_VERSION : ${{ matrix.db2-version }}
155+ run : |
156+ ./loopback-ibmdb/cicd/well-known/prepare-autoinstall.sh
157+ . ./loopback-ibmdb/cicd/tmp/well-known/set-env/post-prepare-autoinstall.sh
158+ ./loopback-connector-db2/cicd/well-known/test-harness.sh
0 commit comments