Skip to content

Commit

Permalink
also check the playground build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzcreek committed Jul 27, 2024
1 parent 1528765 commit d30c29a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: extractions/setup-just@v2
- run: just ci
- uses: cargo-bins/[email protected]
- run: just ci
8 changes: 7 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ ci:
cargo clippy --all-targets --all-features
cargo fmt --all --check

cargo binstall wasm-bindgen-cli wasm-opt
just build-wasm-lib
just build-playground

gen:
cargo xtask-gen-ast
cargo fmt -- crates/frontend/src/syntax/nodes.rs
Expand All @@ -34,8 +38,10 @@ dev FILE:
playground: build-wasm-lib
cd playground && npm i && npm run dev

update-gh-pages: build-wasm-lib
build-playground: build-wasm-lib
cd playground && npm i && npm run build

update-gh-pages: build-playground
rm -r gh-pages/*
cp -r playground/dist/* gh-pages/

Expand Down

0 comments on commit d30c29a

Please sign in to comment.