Skip to content

Commit 79111e6

Browse files
committed
Make github run tests upon each new commit. (vibe-kanban 6a93bc45)
1 parent 6f8852e commit 79111e6

2 files changed

Lines changed: 35 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Node.js 24
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 24
20+
cache: 'npm'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run linter
26+
run: npm run lint
27+
28+
- name: Run type checker
29+
run: npm run typecheck
30+
31+
- name: Run format check
32+
run: npm run format:check
33+
34+
- name: Run tests
35+
run: npm test

package-lock.json

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)