Skip to content

fix: export type to comply with isolatedModules requirements #66

fix: export type to comply with isolatedModules requirements

fix: export type to comply with isolatedModules requirements #66

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request: {}
jobs:
headless_browser_test:
name: Run Rust tests on headless browser
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
steps:
- uses: actions/checkout@v1
- uses: jetli/wasm-pack-action@v0.3.0
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- run: yarn test:browser
js_test:
name: Run JS tests in NodeJS environment
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- uses: jetli/wasm-pack-action@v0.3.0
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn build:release
- run: yarn test:wasm