From abea905feb274948aa96f97ee216e67906e435b3 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 22 Sep 2024 23:39:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20=20Check=20that=20no=20error=20o?= =?UTF-8?q?ccurs=20during=20the=20build=20of=20the=20webapp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.validate.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .woodpecker/.validate.yaml diff --git a/.woodpecker/.validate.yaml b/.woodpecker/.validate.yaml new file mode 100644 index 0000000..5517665 --- /dev/null +++ b/.woodpecker/.validate.yaml @@ -0,0 +1,11 @@ +steps: + build: + image: rust:latest + commands: + - cargo install dioxus-cli --locked -j ${JOBS_NB:-default} + - rustup target add wasm32-unknown-unknown + - cargo install -f wasm-bindgen-cli --version 0.2.93 + - dx build -r --platform web -- -j ${JOBS_NB:-default} + +when: + - event: pull_request