Skip to content

Commit 71b22cc

Browse files
authored
Merge branch 'ENG-219/build-setup' into ENG-219/app-bootstrap
2 parents e768bf1 + 686de67 commit 71b22cc

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint & Typecheck
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
9+
with:
10+
node-version: 20
11+
- run: npm ci
12+
- run: npm run lint
13+
- run: npm run typecheck

.github/workflows/tests.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node-version: [18, 20, 22]
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: ${{ matrix.node-version }}
14+
- run: npm ci
15+
- name: Setup git
16+
run: |
17+
git config --global user.name "GitHub Actions"
18+
git config --global user.email "<>"
19+
- run: npm test

0 commit comments

Comments
 (0)