Skip to content

fix: traversal optimization when checking if x contains y (#34) #12

fix: traversal optimization when checking if x contains y (#34)

fix: traversal optimization when checking if x contains y (#34) #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- 'src/**'
- 'test/**'
pull_request:
branches:
- main
paths:
- 'src/**'
- 'test/**'
- '.github/workflows/ci.yml'
workflow_dispatch:
jobs:
test:
name: Test
strategy:
matrix:
node-version:
- 18
- 20
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 'latest'
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test