Skip to content

Commit 7c4bbdf

Browse files
committed
Fix CI
1 parent 57775ba commit 7c4bbdf

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112
steps:
113113
- name: Checkout repository
114114
uses: actions/checkout@v6
115+
with:
116+
submodules: recursive
115117

116118
- name: Setup Node.js
117119
uses: actions/setup-node@v6
@@ -121,7 +123,7 @@ jobs:
121123
cache-dependency-path: js/package-lock.json
122124

123125
- name: Download WASM artifacts
124-
uses: actions/download-artifact@v4
126+
uses: actions/download-artifact@v8
125127
with:
126128
name: wasm-artifacts
127129
path: dist

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
steps:
3636
- name: Checkout repository
3737
uses: actions/checkout@v6
38+
with:
39+
submodules: recursive
3840

3941
- name: Determine version
4042
id: version
@@ -134,6 +136,8 @@ jobs:
134136
steps:
135137
- name: Checkout repository
136138
uses: actions/checkout@v6
139+
with:
140+
submodules: recursive
137141

138142
- name: Setup Node.js
139143
uses: actions/setup-node@v6
@@ -144,7 +148,7 @@ jobs:
144148
registry-url: https://registry.npmjs.org
145149

146150
- name: Download WASM artifacts
147-
uses: actions/download-artifact@v4
151+
uses: actions/download-artifact@v8
148152
with:
149153
name: wasm-artifacts
150154
path: dist
@@ -158,6 +162,9 @@ jobs:
158162
- name: Build shared TypeScript wrapper
159163
run: cd js && npm exec tsc
160164

165+
- name: Run Vitest for ${{ matrix.package }}
166+
run: cd js && npm run test:${{ matrix.package }}
167+
161168
- name: Sync package versions
162169
run: node scripts/sync-package-versions.mjs --version "${{ needs.version.outputs.version }}"
163170

0 commit comments

Comments
 (0)