Skip to content

Commit 321968e

Browse files
committed
chore(wasm-pack): upgrade wasm-pack to now-functioning v0.15.0
1 parent ea20605 commit 321968e

5 files changed

Lines changed: 43 additions & 138 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -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

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@
5555
"@codemirror/autocomplete": "6.18.7",
5656
"@codemirror/commands": "6.8.1",
5757
"@codemirror/lint": "6.8.5"
58-
},
59-
"patchedDependencies": {
60-
"wasm-pack@0.14.0": "patches/wasm-pack@0.14.0.patch"
6158
}
6259
}
6360
}

patches/wasm-pack@0.14.0.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 7 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rivetkit-typescript/packages/rivetkit-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
},
3838
"devDependencies": {
3939
"typescript": "^5.9.2",
40-
"wasm-pack": "0.14.0"
40+
"wasm-pack": "0.15.0"
4141
}
4242
}

0 commit comments

Comments
 (0)