Skip to content

Commit bec73ac

Browse files
committed
Fixing the CI build step for wasm-splats and adding a pack step
1 parent 11263a2 commit bec73ac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/wasm-splats-ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
run: wasm-pack test --headless --chrome --firefox
3535
working-directory: ./wasm-splats
3636

37-
# TODO: Move this to a wasm-splats-deploy.yml file.
3837
pack:
3938
name: Packaging for npm
4039
runs-on: ubuntu-latest
@@ -53,7 +52,10 @@ jobs:
5352
- name: Install wasm-pack
5453
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
5554

56-
- name: Package wasm-splats
57-
run: wasm-pack build ./wasm-splats --target web --out-dir ./wasm-splats/pkg
55+
- name: Build wasm-splats
56+
run: wasm-pack build ./wasm-splats --target web --scope cesium --out-dir ./wasm-splats/pkg
57+
58+
- name: Pack wasm-splats
59+
run: wasm-pack pack ./wasm-splats/pkg
5860

5961
## TODO: Save artifacts to AWS.

0 commit comments

Comments
 (0)