Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
ci:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -39,9 +39,44 @@ jobs:

- name: Run type checking
run: pnpm tsc --noEmit

build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.18.0
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm build
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.18.0
- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test:all
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ These checks run automatically when you commit. Please ensure all files are lint

- Run `pnpm build` to check if build has no errors.

## Testing

- Run `pnpm test:all` to run tests.

## Submitting a Pull Request

1. Ensure your branch is up to date with `main`.
Expand Down