Fix some functions and add some more #80
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: test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
js_test: | |
name: Run JS tests in NodeJS environment | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: jetli/wasm-pack-action@v0.4.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 |