Skip to content

Commit d5954fe

Browse files
committed
ci: add autoinstall prepare scripts
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
1 parent 0c0392c commit d5954fe

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,8 @@ jobs:
135135
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136136
with:
137137
fetch-depth: 1
138-
- name: Setup Node.js
139-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
140-
with:
141-
node-version: ${{ matrix.node-version }}
142-
cache: npm
138+
submodules: true
139+
path: loopback-ibmdb
143140
- name: Bootstrap dependencies
144141
run: npm ci --ignore-scripts
145142
- name: Package for cross-testing
@@ -154,6 +151,14 @@ jobs:
154151
https://github.com/loopbackio/loopback-connector-db2.git
155152
cd loopback-connector-db2
156153
git submodule update --init --depth=1
154+
- name: Setup Node.js
155+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
156+
with:
157+
node-version: ${{ matrix.node-version }}
158+
cache: npm
159+
cache-dependency-path: |
160+
./loopback-connector-db2/package-lock.json
161+
./loopback-ibmdb/package-lock.json
157162
- name: Setup and run test harness
158163
env:
159164
DB2_VERSION: ${{ matrix.db2-version }}

0 commit comments

Comments
 (0)