add check => extract_bits + parse_state_diff word value check + BLOB_… #11
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
name: wasm-webapp | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
# Install dependencies | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./crates/wasm/app | |
# Build step with working directory set to ./crates/wasm/app | |
# NODE_OPTIONS=--openssl-legacy-provider is required for the build step to work | |
- name: Build | |
run: NODE_OPTIONS=--openssl-legacy-provider npm run build | |
working-directory: ./crates/wasm/app | |
# Deploy step | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./crates/wasm/app/dist |