Skip to content

Commit 58a20d5

Browse files
committed
update modules and WFlow
1 parent b5af4a8 commit 58a20d5

63 files changed

Lines changed: 2080 additions & 1915 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/backend-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Backend CI
2+
3+
on:
4+
push:
5+
branches: [ "main", "QUY-TRINH-1", "QUY-TRINH-2", "QUY-TRINH-3", "QUY-TRINH-4", "SOURCE" ]
6+
paths:
7+
- 'backend/**'
8+
- '.github/workflows/backend-ci.yml'
9+
pull_request:
10+
branches: [ "main", "QUY-TRINH-1", "QUY-TRINH-2", "QUY-TRINH-3", "QUY-TRINH-4", "SOURCE" ]
11+
paths:
12+
- 'backend/**'
13+
- '.github/workflows/backend-ci.yml'
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
node-version: [22.19.0]
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
- name: Install dependencies
29+
working-directory: ./backend
30+
run: npm ci
31+
- name: Code Quality - Lint
32+
working-directory: ./backend
33+
run: npm run lint
34+
- name: Build
35+
working-directory: ./backend
36+
run: npm run build --if-present
37+
- name: Run tests
38+
working-directory: ./backend
39+
run: npm test

0 commit comments

Comments
 (0)