Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Commit 47c5357

Browse files
committed
fixed action workflow
1 parent 8562b2d commit 47c5357

4 files changed

Lines changed: 20 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ jobs:
6060
image-ref: finmind-backend:ci
6161
format: table
6262
exit-code: 1
63+
ignore-unfixed: true
6364
vuln-type: os,library
64-
severity: CRITICAL,HIGH
65+
severity: CRITICAL
6566

6667
frontend:
6768
runs-on: ubuntu-latest
@@ -70,19 +71,17 @@ jobs:
7071
- uses: actions/setup-node@v4
7172
with:
7273
node-version: "20"
74+
cache: npm
75+
cache-dependency-path: app/package-lock.json
7376
- name: Install
74-
run: |
75-
cd app
76-
npm ci || npm install
77+
working-directory: app
78+
run: npm ci
7779
- name: Lint
78-
run: |
79-
cd app
80-
npm run lint
80+
working-directory: app
81+
run: npm run lint
8182
- name: Test
82-
run: |
83-
cd app
84-
npm run test -- --run
83+
working-directory: app
84+
run: npm run test -- --ci
8585
- name: Build
86-
run: |
87-
cd app
88-
npm run build
86+
working-directory: app
87+
run: npm run build

.github/workflows/codeql.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ jobs:
2828
uses: github/codeql-action/init@v3
2929
with:
3030
languages: ${{ matrix.language }}
31-
32-
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v3
31+
build-mode: none
3432

3533
- name: Perform CodeQL Analysis
3634
uses: github/codeql-action/analyze@v3

.github/workflows/frontend-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: Frontend Tests
22

33
on:
4+
workflow_dispatch:
45
push:
5-
branches: [ main, test-cases, feature/** ]
6+
branches: ["**"]
67
paths:
78
- 'app/**'
89
- '.github/workflows/frontend-tests.yml'
910
pull_request:
10-
branches: [ main ]
11+
paths:
12+
- 'app/**'
13+
- '.github/workflows/frontend-tests.yml'
1114

1215
jobs:
1316
test:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ logs/
3636
npm-debug.log*
3737
yarn-debug.log*
3838
pnpm-debug.log*
39+
40+
plan.md

0 commit comments

Comments
 (0)