diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b4795a6..d468d7f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,5 @@ FROM mcr.microsoft.com/devcontainers/base:bullseye RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -y install --no-install-recommends build-essential pkg-config libssl-dev \ + && apt-get -y install --no-install-recommends build-essential pkg-config libssl-dev binaryen \ && apt-get clean -y && rm -rf /var/lib/apt/lists/* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd386ab..475cd54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,8 @@ jobs: cargo test --all-targets --all-features cargo clippy --all-targets --all-features -- -D warnings cargo build - npm install - npm run build + npm install + npm run release - name: Restore permissions run: | diff --git a/package.json b/package.json index 9cef7ac..0daae81 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "scripts": { + "release": "webpack -c webpack.config.js --mode production", "build": "webpack", "serve": "webpack serve" }, @@ -16,4 +17,4 @@ "dependencies": { "wasm-pack": "^0.11.0" } -} +} \ No newline at end of file