From dfc05fe1bc65a70b4ad174059ff053fb59e985a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Mon, 20 Jun 2022 20:34:04 +0100
Subject: [PATCH] fix: new Typescript deploy instructions

---
 .gitlab-ci.yml | 1 +
 README.md      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6873596..8f477bd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,7 @@ build-wasm:
     - rustc --version
     - cargo install wasm-pack
     - wasm-pack build --release --target=web --out-dir=examples/web/lib -- --features wasm
+    - npm install && npm run build
   artifacts:
     paths:
       - examples/web
diff --git a/README.md b/README.md
index 4c0b3e4..6229f1d 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ wasm-pack build --release --target=nodejs -- --features wasm
 cargo install wasm-pack
 wasm-pack build --release --target=web --out-dir=examples/web/lib -- --features wasm
 cd examples/web
+npm install && npm run build
 python3 -m http.server
 ```
 
-- 
GitLab