Skip to content

update vitest to latest #330

update vitest to latest

update vitest to latest #330

Workflow file for this run

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