@@ -217,42 +217,42 @@ jobs:
217217 if-no-files-found : error
218218
219219 # ---------------------------------------------------------------------------
220- # build-wasm — disabled
220+ # build-wasm
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
0 commit comments