Skip to content

Commit f57f593

Browse files
authored
Merge pull request #6 from vercel-labs/adding-ci-checks
adding ci checks
2 parents 61b1bf9 + 28827f7 commit f57f593

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: oven-sh/setup-bun@v2
17+
with:
18+
bun-version: latest
19+
20+
- name: Install dependencies
21+
run: bun install --frozen-lockfile
22+
23+
- name: Build
24+
run: bun run build
25+
26+
- name: Typecheck
27+
run: bun run typecheck
28+
29+
- name: Validate skills
30+
run: bun run validate
31+
32+
- name: Check generated files are up-to-date
33+
run: bun run build:from-skills:check
34+
35+
- name: Test
36+
run: bun test

0 commit comments

Comments
 (0)