Fix CI
This commit is contained in:
parent
4c7b9d83d7
commit
9d3c12bf4e
2 changed files with 28 additions and 3 deletions
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
|
|
@ -38,7 +38,8 @@ jobs:
|
||||||
|
|
||||||
- name: Setup rust
|
- name: Setup rust
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack cargo-machete
|
which wasm-pack || cargo install wasm-pack
|
||||||
|
which wasm-machete || cargo install wasm-machete
|
||||||
|
|
||||||
- name: Build wasm
|
- name: Build wasm
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -121,7 +122,7 @@ jobs:
|
||||||
|
|
||||||
- name: Setup rust
|
- name: Setup rust
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack
|
which wasm-pack || cargo install wasm-pack
|
||||||
|
|
||||||
- name: Build wasm
|
- name: Build wasm
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
26
.github/workflows/gh-pages.yml
vendored
26
.github/workflows/gh-pages.yml
vendored
|
|
@ -27,10 +27,34 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Build wasm
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack
|
which wasm-pack || cargo install wasm-pack
|
||||||
scripts/build-website.sh
|
scripts/build-website.sh
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue