Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Commit 7c3d5a0

Browse files
committed
ci: add basic testing workflow
1 parent 20c48af commit 7c3d5a0

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
node-version: [20, 22, 24]
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: npm
24+
- name: Install
25+
run: npm ci
26+
- name: Lint
27+
run: npm run lint
28+
- name: Format
29+
run: npm run format
30+
- name: Test
31+
run: npm test

0 commit comments

Comments
 (0)