Skip to content

Commit 0b67bf7

Browse files
committed
fix: CI use npm install and build:main for workspace compat
1 parent 0c6c3b6 commit 0b67bf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
run: cd wasm/rust && wasm-pack build --target bundler
3131

3232
- name: Install dependencies
33-
run: npm ci
33+
run: npm install --workspaces
3434
env:
3535
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636

3737
- name: Build JS client
38-
run: npm run build --workspace=js
38+
run: npm run build:main --workspace=js
3939

4040
- name: Build WASM package
4141
run: npm run build:web --workspace=wasm

0 commit comments

Comments
 (0)