Work around schema parsing issue in Cursor (#18) #100
This file contains hidden or 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: 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 |