@@ -217,42 +217,42 @@ jobs:
217217 if-no-files-found : error
218218
219219 # ---------------------------------------------------------------------------
220- # build-wasm — wasm package artifact built in parallel with native artifacts
220+ # build-wasm — disabled
221221 # ---------------------------------------------------------------------------
222- build-wasm :
223- needs : [context]
224- name : " Build rivetkit-wasm"
225- runs-on : depot-ubuntu-24.04-8
226- permissions :
227- contents : read
228- steps :
229- - uses : actions/checkout@v4
230- with :
231- lfs : ${{ needs.context.outputs.trigger == 'release' }}
232- - run : corepack enable
233- - uses : actions/setup-node@v4
234- with :
235- node-version : " 22"
236- cache : pnpm
237- - uses : actions-rust-lang/setup-rust-toolchain@v1
238- with :
239- toolchain : stable
240- target : wasm32-unknown-unknown
241- rustflags : " "
242- - uses : Swatinem/rust-cache@v2
243- with :
244- shared-key : " rivetkit-wasm-publish"
245- cache-on-failure : true
246- - name : Install wasm package dependencies
247- run : pnpm install --frozen-lockfile --filter=@rivetkit/rivetkit-wasm
248- - name : Build wasm package
249- run : pnpm --filter=@rivetkit/rivetkit-wasm build
250- - name : Upload wasm package artifact
251- uses : actions/upload-artifact@v4
252- with :
253- name : wasm-package
254- path : rivetkit-typescript/packages/rivetkit-wasm/pkg
255- if-no-files-found : error
222+ # build-wasm:
223+ # needs: [context]
224+ # name: "Build rivetkit-wasm"
225+ # runs-on: depot-ubuntu-24.04-8
226+ # permissions:
227+ # contents: read
228+ # steps:
229+ # - uses: actions/checkout@v4
230+ # with:
231+ # lfs: ${{ needs.context.outputs.trigger == 'release' }}
232+ # - run: corepack enable
233+ # - uses: actions/setup-node@v4
234+ # with:
235+ # node-version: "22"
236+ # cache: pnpm
237+ # - uses: actions-rust-lang/setup-rust-toolchain@v1
238+ # with:
239+ # toolchain: stable
240+ # target: wasm32-unknown-unknown
241+ # rustflags: ""
242+ # - uses: Swatinem/rust-cache@v2
243+ # with:
244+ # shared-key: "rivetkit-wasm-publish"
245+ # cache-on-failure: true
246+ # - name: Install wasm package dependencies
247+ # run: pnpm install --frozen-lockfile --filter=@rivetkit/rivetkit-wasm
248+ # - name: Build wasm package
249+ # run: pnpm --filter=@rivetkit/rivetkit-wasm build
250+ # - name: Upload wasm package artifact
251+ # uses: actions/upload-artifact@v4
252+ # with:
253+ # name: wasm-package
254+ # path: rivetkit-typescript/packages/rivetkit-wasm/pkg
255+ # if-no-files-found: error
256256
257257 # ---------------------------------------------------------------------------
258258 # docker-images — per-arch runtime images pushed to Docker Hub
@@ -319,12 +319,11 @@ jobs:
319319 # publish — npm publish + R2 upload + Docker manifest + release tail
320320 # ---------------------------------------------------------------------------
321321 publish :
322- needs : [context, build, build-wasm, docker-images]
322+ needs : [context, build, docker-images]
323323 name : " Publish"
324324 if : |
325325 !cancelled() &&
326326 needs.build.result == 'success' &&
327- needs.build-wasm.result == 'success' &&
328327 needs.docker-images.result == 'success'
329328 runs-on : depot-ubuntu-24.04-8
330329 permissions :
@@ -364,17 +363,6 @@ jobs:
364363 path : engine-artifacts
365364 pattern : engine-*
366365 merge-multiple : true
367- - name : Download wasm package artifact
368- uses : actions/download-artifact@v4
369- with :
370- name : wasm-package
371- path : rivetkit-typescript/packages/rivetkit-wasm/pkg
372- - name : Validate wasm package artifact
373- run : |
374- test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm.js
375- test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm.d.ts
376- test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm_bg.wasm
377-
378366 - name : Place native binaries in platform packages
379367 run : |
380368 NATIVE_DIR=rivetkit-typescript/packages/rivetkit-napi
0 commit comments