Skip to content

Commit ce8887c

Browse files
committed
ci: clone the interscript-ts sibling before install
interscript-ts is a file: dependency on the sibling checkout; CI needs it cloned (and built) before npm ci. Pinned to feat/imf-runtime-ts until that line merges to main.
1 parent 3eb2a5b commit ce8887c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
with:
1717
node-version: "22"
1818
cache: npm
19+
- name: Clone interscript-ts (file: dependency)
20+
run: |
21+
git clone --depth=1 --branch feat/imf-runtime-ts https://github.com/interscript/interscript-ts.git ../interscript-ts
22+
cd ../interscript-ts && npm ci && npm run build
1923
- name: Install dependencies
2024
run: npm ci
2125
- name: Type check

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
with:
3030
node-version: "22"
3131
cache: npm
32+
- name: Clone interscript-ts (file: dependency)
33+
run: |
34+
git clone --depth=1 --branch feat/imf-runtime-ts https://github.com/interscript/interscript-ts.git ../interscript-ts
35+
cd ../interscript-ts && npm ci && npm run build
3236
- name: Install dependencies
3337
run: npm ci
3438
- name: Build site

0 commit comments

Comments
 (0)