Add commitToScalars
and version bump (#60)
#341
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: Javascript tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Install wasm-bindgen | |
run: ./scripts/install-wasm-bindgen.sh | |
- name: Install wasm32-unknown-unknown target | |
run: rustup target add wasm32-unknown-unknown | |
- run: npm install | |
# Install playwright dependencies | |
- run: npx playwright install | |
- run: npx playwright install-deps | |
- run: npm run build | |
- run: npm run test | |
- run: npm run test:browser | |
- run: node src.ts/tests/script.cjs | |