Skip to content

Commit 05bcb28

Browse files
authored
Merge pull request #1 from cornell-dti/setup-cicd
CI/CD Setup
2 parents 32964fa + cbf9342 commit 05bcb28

3 files changed

Lines changed: 57 additions & 1 deletion

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
### Summary <!-- Required -->
2+
3+
<!-- Provide a general summary of your changes in the Title above -->
4+
<!-- Itemize bug fixes, new features, and other changes -->
5+
<!-- Feel free to break this into sub-sections, i.e. features, fixes, etc. -->
6+
<!-- Some examples are shown below. -->
7+
8+
This pull request is the first step towards implementing feature Foo
9+
10+
- [x] implemented X
11+
- [ ] fixed Y
12+
13+
<!--- Itemize any relevant remaining TODOs (especially for WIP PRs) -->
14+
15+
Remaining TODOs:
16+
17+
- [ ] resolve bug 1
18+
- [ ] implement Z
19+
20+
<!--- Note dependencies on other PRs if any. -->
21+
22+
Depends on #{number of PR}
23+
24+
### Test Plan <!-- Required -->
25+
26+
<!-- Provide screenshots, point to unit tests, or describe how you tested your changes -->
27+
28+
### Notes <!-- Optional -->
29+
30+
<!--- List any important or subtle points, future considerations, blockers, or other items of note. -->
31+
32+
### Breaking Changes <!-- Optional -->
33+
34+
<!-- Keep items that apply: -->
35+
36+
- Database schema changes
37+
- Other change that could cause problems (Detailed in notes)

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
on:
3+
push:
4+
5+
jobs:
6+
checks:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: oven-sh/setup-bun@v2
11+
with:
12+
bun-version: latest
13+
- name: Install dependencies
14+
run: bun install --frozen-lockfile
15+
- name: Type check
16+
run: bun run type-check
17+
- name: Lint check
18+
run: bun run lint

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"dev": "vite",
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
10-
"preview": "vite preview"
10+
"preview": "vite preview",
11+
"type-check": "tsc --noEmit"
1112
},
1213
"dependencies": {
1314
"convex": "^1.32.0",

0 commit comments

Comments
 (0)