Skip to content

Commit b5c3005

Browse files
authored
Merge pull request #5 from imbue-ai/hynek/run-tests-in-github-ci
Make github run tests upon each new commit.
2 parents 25d919b + 8c6020d commit b5c3005

1 file changed

Lines changed: 35 additions & 0 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

0 commit comments

Comments
 (0)