diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index 01df5bd3f4..d90232ef74 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -1,5 +1,5 @@ name: 'Setup nodejs' -description: Setup nodejs +description: Setup nodejs and other frontend tools used in the frontend build runs: using: "composite" steps: diff --git a/Dockerfile b/Dockerfile index 596494236c..4f16146d84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,10 @@ RUN . "$NVM_DIR/nvm.sh" && nvm use "v$(cat .node-version)" RUN . "$NVM_DIR/nvm.sh" && nvm alias default "v$(cat .node-version)" RUN ln -s "$NVM_DIR/versions/node/v$(cat .node-version)" "$NVM_DIR/versions/node/default" ENV PATH="$NVM_DIR/versions/node/default/bin/:${PATH}" +RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh RUN node --version RUN npm --version +RUN wasm-pack --version # Install Rust and Cargo in /opt ENV RUSTUP_HOME=/opt/rustup \