diff --git a/.ci/build b/.ci/build index 46dbfde..a0f9163 100755 --- a/.ci/build +++ b/.ci/build @@ -6,6 +6,7 @@ set -Eeuo pipefail export HOME=$(pwd) export CARGO_HOME=$(pwd)/.cargo cd wwp-repo +ln -s ../node_modules ./node_modules ln -s ../target ./target ln -s ../wwpapp ./dist @@ -13,4 +14,5 @@ echo Running tests cargo test --target-dir ../target --profile release echo Building assets +npm install trunk build --locked --release diff --git a/.ci/trunkrs-image/Dockerfile b/.ci/trunkrs-image/Dockerfile index 1c5675d..0d931b6 100644 --- a/.ci/trunkrs-image/Dockerfile +++ b/.ci/trunkrs-image/Dockerfile @@ -1,6 +1,7 @@ FROM rust RUN apt-get -y update && \ apt-get -y install \ + npm \ binaryen \ build-essential \ git \ diff --git a/.concourse.yml b/.concourse.yml index 39dd031..5ed58e9 100644 --- a/.concourse.yml +++ b/.concourse.yml @@ -19,6 +19,7 @@ jobs: caches: - path: target - path: .cargo + - path: node_modules outputs: - name: wwpapp run: