This commit is contained in:
Andras Schmelczer 2025-07-09 23:23:42 +01:00
parent 4c7b9d83d7
commit 9d3c12bf4e
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 28 additions and 3 deletions

View file

@ -38,7 +38,8 @@ jobs:
- name: Setup rust
run: |
cargo install wasm-pack cargo-machete
which wasm-pack || cargo install wasm-pack
which wasm-machete || cargo install wasm-machete
- name: Build wasm
run: |
@ -121,7 +122,7 @@ jobs:
- name: Setup rust
run: |
cargo install wasm-pack
which wasm-pack || cargo install wasm-pack
- name: Build wasm
run: |

View file

@ -27,10 +27,34 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache Rust dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Cache npm dependencies
uses: actions/cache@v4
with:
path: |
reconcile-js/node_modules
~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('reconcile-js/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Build wasm
run: |
cargo install wasm-pack
which wasm-pack || cargo install wasm-pack
scripts/build-website.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: