Skip to content

Commit ccc6882

Browse files
committed
add quality check
1 parent 9cd73c8 commit ccc6882

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: quality-check
2+
3+
on:
4+
pull_request:
5+
branches: [ dev, main ]
6+
7+
jobs:
8+
quality-check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout git repo
12+
uses: actions/checkout@v4
13+
14+
- name: Install Node and NPM
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
19+
- name: Install dependencies
20+
run: |
21+
npm install
22+
23+
- name: Build - Backend
24+
run: |
25+
cd backend
26+
npm run build
27+
28+
- name: Build - Frontend
29+
run: |
30+
cd frontend
31+
npm run build
32+
33+
- name: Build - Docker
34+
run: |
35+
npm run docker:build
36+

0 commit comments

Comments
 (0)