Skip to content

Commit 1ba4c1d

Browse files
authored
Merge pull request #61 from Arjuna-Ragil/auth-sys
feat: CI check added
2 parents 980a978 + eb08322 commit 1ba4c1d

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/ci-checks.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI integrity checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- dev
8+
9+
jobs:
10+
Backend-checks:
11+
name: Backend integrity checks
12+
runs-on: self-hosted
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Go
18+
uses: actions/setup-go@v4
19+
with:
20+
go-version: '1.21'
21+
22+
- name: Verify Backend Build
23+
run: |
24+
cd Backend
25+
go build -v ./...
26+
27+
Frontend-checks:
28+
name: Frontend integrity checks
29+
runs-on: self-hosted
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
34+
- name: Setup Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
38+
39+
- name: Verify Frontend Build
40+
run: |
41+
cd Frontend/project-CL
42+
npm install
43+
npm run build

0 commit comments

Comments
 (0)