Skip to content

Commit ba6f397

Browse files
committed
Add CI workflow for app builds
1 parent 8a2d085 commit ba6f397

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
name: Typecheck and build
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [20, 22]
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
cache: npm
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Typecheck
32+
run: npm run lint
33+
34+
- name: Build
35+
run: npm run build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![TypeScript](https://img.shields.io/badge/TypeScript-5.8-3178c6)
44
![three.js](https://img.shields.io/badge/three.js-r184-000000)
55
![React 19](https://img.shields.io/badge/React-19-61dafb)
6+
[![CI](https://github.com/yehudalevy-collab/proofs-of-nine/actions/workflows/ci.yml/badge.svg)](https://github.com/yehudalevy-collab/proofs-of-nine/actions/workflows/ci.yml)
67

78
The number **9**, written by itself in infinite mathematics.
89

0 commit comments

Comments
 (0)