Skip to content

Commit

Permalink
Add build test on GitHub Actions CI and regenerate package-lock.json (
Browse files Browse the repository at this point in the history
#310)

* Add build test on CI

* Change CI paths

* Update package-lock.json
  • Loading branch information
devleejb authored and minai621 committed Nov 5, 2024
1 parent 7bdfbaf commit 15004a2
Show file tree
Hide file tree
Showing 4 changed files with 1,919 additions and 40 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- main
paths:
- ".github/workflows/ci_backend.yaml"
- "backend/**"

jobs:
Expand All @@ -35,3 +36,6 @@ jobs:
- name: Lint
run: npm run lint
working-directory: ${{ env.working-directory }}
- name: Build
run: npm run build
working-directory: ${{ env.working-directory }}
4 changes: 4 additions & 0 deletions .github/workflows/ci_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- main
paths:
- ".github/workflows/ci_frontend.yaml"
- "frontend/**"

jobs:
Expand All @@ -35,3 +36,6 @@ jobs:
- name: Lint
run: npm run lint
working-directory: ${{ env.working-directory }}
- name: Build
run: npm run build
working-directory: ${{ env.working-directory }}
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
npm install -f
npm install ci
npm run build
- name: Deploy 🚀
Expand Down
Loading

0 comments on commit 15004a2

Please sign in to comment.