Skip to content

publish fractional index fixes in preview release #83

publish fractional index fixes in preview release

publish fractional index fixes in preview release #83

Workflow file for this run

on: pull_request
name: "js-tests"
jobs:
build:
name: Testing on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
# - os: windows-2022 # windows hangs indefintely when installing build tools
# can't switch to node19 for windows until https://github.com/WiseLibs/better-sqlite3/pull/870 is resolved
# as some js tests use better-sqlite3
- os: macos-latest
steps:
- name: Checkout js repo
uses: actions/checkout@v3
with:
submodules: recursive
path: ./js
repository: vlcn-io/js
- name: Checkout cr-sqlite repo
uses: actions/checkout@v3
with:
submodules: recursive
path: ./cr-sqlite
repository: vlcn-io/cr-sqlite
- name: Checkout typed-sql
uses: actions/checkout@v3
with:
submodules: recursive
path: ./typed-sql
repository: vlcn-io/typed-sql
- name: Load .env file
uses: xom9ikk/dotenv@v2
with:
path: ./js
- name: Install wabt (linux)
if: runner.os == 'Linux'
run: sudo apt-get update; sudo apt install -y wabt
- name: Install wabt (osx)
if: runner.os == 'macOS'
run: brew install wabt
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 19.x
- name: Install pnpm
run: npm install -g pnpm
- name: Windows build tools
if: runner.os == 'Windows'
run: npm install --global windows-build-tools
- name: Test
run: cd js; make test