Skip to content

Commit 5f8645a

Browse files
committed
Add a tested GH Actions CI workflow.
Remove the old workflows.
1 parent 957461b commit 5f8645a

File tree

5 files changed

+39
-184
lines changed

5 files changed

+39
-184
lines changed

.github/workflows/android-release.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.github/workflows/backend-docker.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/dev-checks.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/dev-ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
frontend-ci:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Install Bun
15+
uses: oven-sh/setup-bun@v2
16+
- name: Install dependencies
17+
run: bun install --frozen-lockfile
18+
- name: Lint
19+
run: bun run lint:frontend
20+
- name: Typecheck
21+
run: bun run ts:frontend
22+
- name: Test
23+
run: bun run test:frontend
24+
backend-ci:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- name: Install Bun
29+
uses: oven-sh/setup-bun@v2
30+
- name: Install dependencies
31+
run: bun install --frozen-lockfile
32+
- name: Lint
33+
run: bun run lint:frontend
34+
- name: Typecheck
35+
run: bun run ts:frontend
36+
- name: Test
37+
run: bun run test:frontend
38+

devenv.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ in {
4040
pkgs.postgresql
4141
pkgs.eas-cli
4242
pkgs.tree
43+
pkgs.act
4344
];
4445

4546
services.postgres = {

0 commit comments

Comments
 (0)