Skip to content

Commit bac7288

Browse files
committed
ci: GitHub Actions — tests server (vitest) + lint/build/bundlesize front
1 parent 0fc05ff commit bac7288

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
7+
jobs:
8+
server:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 22
15+
- run: npm ci
16+
working-directory: server
17+
- run: npm test
18+
working-directory: server
19+
20+
frontend:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: 22
27+
- run: npm ci
28+
working-directory: app
29+
- run: npm run lint
30+
working-directory: app
31+
- run: npm run build
32+
working-directory: app
33+
- run: npm run check:bundlesize
34+
working-directory: app

0 commit comments

Comments
 (0)