Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,42 +217,42 @@ jobs:
if-no-files-found: error

# ---------------------------------------------------------------------------
# build-wasm — disabled
# build-wasm
# ---------------------------------------------------------------------------
# build-wasm:
# needs: [context]
# name: "Build rivetkit-wasm"
# runs-on: depot-ubuntu-24.04-8
# permissions:
# contents: read
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: ${{ needs.context.outputs.trigger == 'release' }}
# - run: corepack enable
# - uses: actions/setup-node@v4
# with:
# node-version: "22"
# cache: pnpm
# - uses: actions-rust-lang/setup-rust-toolchain@v1
# with:
# toolchain: stable
# target: wasm32-unknown-unknown
# rustflags: ""
# - uses: Swatinem/rust-cache@v2
# with:
# shared-key: "rivetkit-wasm-publish"
# cache-on-failure: true
# - name: Install wasm package dependencies
# run: pnpm install --frozen-lockfile --filter=@rivetkit/rivetkit-wasm
# - name: Build wasm package
# run: pnpm --filter=@rivetkit/rivetkit-wasm build
# - name: Upload wasm package artifact
# uses: actions/upload-artifact@v4
# with:
# name: wasm-package
# path: rivetkit-typescript/packages/rivetkit-wasm/pkg
# if-no-files-found: error
build-wasm:
needs: [context]
name: "Build rivetkit-wasm"
runs-on: depot-ubuntu-24.04-8
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
lfs: ${{ needs.context.outputs.trigger == 'release' }}
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: pnpm
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
rustflags: ""
- uses: Swatinem/rust-cache@v2
with:
shared-key: "rivetkit-wasm-publish"
cache-on-failure: true
- name: Install wasm package dependencies
run: pnpm install --frozen-lockfile --filter=@rivetkit/rivetkit-wasm
- name: Build wasm package
run: pnpm --filter=@rivetkit/rivetkit-wasm build
- name: Upload wasm package artifact
uses: actions/upload-artifact@v4
with:
name: wasm-package
path: rivetkit-typescript/packages/rivetkit-wasm/pkg
if-no-files-found: error

# ---------------------------------------------------------------------------
# docker-images — per-arch runtime images pushed to Docker Hub
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
"@codemirror/autocomplete": "6.18.7",
"@codemirror/commands": "6.8.1",
"@codemirror/lint": "6.8.5"
},
"patchedDependencies": {
"wasm-pack@0.14.0": "patches/wasm-pack@0.14.0.patch"
}
}
}
13 changes: 0 additions & 13 deletions patches/wasm-pack@0.14.0.patch

This file was deleted.

93 changes: 7 additions & 86 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rivetkit-typescript/packages/rivetkit-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
},
"devDependencies": {
"typescript": "^5.9.2",
"wasm-pack": "0.14.0"
"wasm-pack": "0.15.0"
}
}
Loading