diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0e9e74b..5c526fc 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -46,6 +46,12 @@ jobs: - name: Add wasm target run: rustup target add wasm32-unknown-unknown + - name: Install nodejs deps + run: | + cd app + npm install + cd .. + - name: Build Rust project with trunk run: trunk build diff --git a/.gitignore b/.gitignore index 60b894a..64cb9ff 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ app/docs pkg Cargo.lock app/dist +app/node_modules # These are backup files generated by rustfmt **/*.rs.bk diff --git a/app/.gitignore b/app/.gitignore deleted file mode 100644 index 1521c8b..0000000 --- a/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -dist