Add diff applying error & improve CI (#32)
* Use stable rust * Add From impls * Revert to nightly * Improve dev env & CI setup * Update lock * Add thiserror * Add diff error * Fix tests * Lint * Rename NumberOrString * Format * Fix lint script
This commit is contained in:
parent
e03b9147df
commit
88d48afce3
17 changed files with 195 additions and 1192 deletions
29
.github/workflows/check.yml
vendored
29
.github/workflows/check.yml
vendored
|
|
@ -37,20 +37,8 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-cargo-
|
||||
|
||||
- name: Setup rust
|
||||
run: |
|
||||
which wasm-pack || cargo install wasm-pack
|
||||
which cargo-machete || cargo install cargo-machete
|
||||
|
||||
- name: Build wasm
|
||||
run: |
|
||||
wasm-pack build --target web --features wasm
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
cargo clippy --all-targets --all-features
|
||||
cargo fmt --all -- --check
|
||||
cargo machete
|
||||
run: scripts/lint.sh
|
||||
|
||||
- name: Test
|
||||
run: scripts/test.sh
|
||||
|
|
@ -117,19 +105,8 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-npm-
|
||||
|
||||
- name: Setup rust
|
||||
run: |
|
||||
which wasm-pack || cargo install wasm-pack
|
||||
|
||||
- name: Build wasm
|
||||
run: |
|
||||
wasm-pack build --target web --features wasm
|
||||
|
||||
- name: Build reconcile-js
|
||||
run: |
|
||||
cd reconcile-js
|
||||
npm ci
|
||||
npm run build
|
||||
- name: Build website
|
||||
run: scripts/build-website.sh
|
||||
|
||||
- name: Publish reconcile-js to NPM
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue