refactor: move docs to starlight #262
This file contains 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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths: | |
- packages/** | |
jobs: | |
test: | |
name: Test on ${{ matrix.platform }} with Node v${{ matrix.node-version }} | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
matrix: | |
node-version: [20, 22] | |
platform: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
id: pnpm-install | |
with: | |
version: 9.12.3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Run Tests | |
run: pnpm test | |
- name: Lint | |
run: pnpm lint |