-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix import resolution bug and wasm32 compatibility Signed-off-by: Yashodhan Joshi <[email protected]> * Update playground CI Signed-off-by: Yashodhan Joshi <[email protected]> * Iterate on a comment * Turn off `workflow_dispatch` in playground action --------- Signed-off-by: Yashodhan Joshi <[email protected]> Co-authored-by: Adrian Sampson <[email protected]> Co-authored-by: Adrian Sampson <[email protected]>
- Loading branch information
1 parent
4f9c0e3
commit c4d9d3e
Showing
9 changed files
with
1,199 additions
and
5,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Playground Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
playground: | ||
name: Web Demo | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
- name: Install Rust stable | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
- name: Install wasm-pack and wasm-bindgen-cli | ||
uses: taiki-e/install-action@wasm-pack | ||
with: | ||
tool: wasm-pack | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
working-directory: ./web | ||
|
||
- name: Build website | ||
run: npm run build | ||
working-directory: ./web | ||
|
||
- name: deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
publish_branch: playground | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./web/dist |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.