* Add files:flip-to-nightly:windows * Add fetch:wasm:windows script * Add install:tools:windows * Update install:tools:windows * Remove wasm-pack and improve README instruction * yarn.lock * Update to Powershell 7, fixes left and right * Contd clean up * install:wasm-pack fix and cleanup * Fix vercel (hopefully) * Attempt 2 for Vercel * Attempt 3 for Vercel * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * Attempt 5 * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * Another fix * Try with install:wasm-pack:cargo * Decouple wasm-pack install and build:wasm * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * Use install:wasm-pack:sh where possible * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * @jtran's comments * Back to cargo * Use binary install of wasm-pack through taiki-e/install-action * Fix QL suggestions * Add PS7 link * Fix build:wasm:windows * Fix flip-files-to-nightly after PS7 upgrade * Pin taiki-e/install-action@v2.48.20 * Try with taiki-e/install-action@2dbeb927f5 * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
37 lines
851 B
YAML
37 lines
851 B
YAML
name: Build and Store WASM
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-and-upload:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn
|
|
- name: Setup Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
- name: Cache wasm
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: './src/wasm-lib'
|
|
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
|
|
with:
|
|
tool: wasm-pack
|
|
- name: build wasm
|
|
run: yarn build:wasm
|
|
|
|
|
|
# Upload the WASM bundle as an artifact
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: wasm-bundle
|
|
path: src/wasm-lib/pkg
|