Skip to content

Work around schema parsing issue in Cursor (#18) #100

Work around schema parsing issue in Cursor (#18)

Work around schema parsing issue in Cursor (#18) #100

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
# Latest major (v5). See: https://github.com/actions/checkout
uses: actions/checkout@v5
- name: Setup pnpm
# Latest major (v4). See: https://github.com/pnpm/action-setup
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061
with:
run_install: false
- name: Setup Node ${{ matrix.node-version }}
# Latest major (v4). See: https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck and lint
run: pnpm check
- name: Build
run: pnpm build
- name: Unit tests
run: pnpm test:unit
- name: Integration tests (Windows DPAPI)
if: runner.os == 'Windows'
run: pnpm test tests/integration/windows-dpapi-live.test.ts