Skip to content

Commit 2e7be94

Browse files
chore: set up ci, .gitattributes for line endings, astro check
1 parent 3545189 commit 2e7be94

File tree

5 files changed

+857
-29
lines changed

5 files changed

+857
-29
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ubcigem.com CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
check-lint-fmt:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [24.x]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- name: Install deps
22+
run: npm ci
23+
- name: Check linting
24+
run: npm run lint
25+
- name: Check formatting
26+
run: npm run fmt
27+
- name: Run type check
28+
run: npm run check

0 commit comments

Comments
 (0)