Skip to content

add options for statement level benchmarks, iteration count, and #17

add options for statement level benchmarks, iteration count, and

add options for statement level benchmarks, iteration count, and #17

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install
run: pnpm i
- name: Lint
run: pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install
run: pnpm i
- name: Typecheck
run: pnpm typecheck
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [18]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install
run: pnpm i
- name: Build
run: pnpm build
- name: Test
run: pnpm test