perf: production mode + build in CI
All checks were successful
Deploy Web Client / deploy (push) Successful in 37s
All checks were successful
Deploy Web Client / deploy (push) Successful in 37s
- npm start instead of npm run dev - CI does npm run build before restart - Pages load in ~50ms instead of ~2s
This commit is contained in:
parent
5ce87e088b
commit
7acd0555e3
@ -13,10 +13,11 @@ jobs:
|
|||||||
cd /root/projects/team-board/web-client
|
cd /root/projects/team-board/web-client
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install and build
|
||||||
run: |
|
run: |
|
||||||
cd /root/projects/team-board/web-client
|
cd /root/projects/team-board/web-client
|
||||||
npm install --production=false
|
npm install --production=false
|
||||||
|
npm run build
|
||||||
|
|
||||||
- name: Restart service
|
- name: Restart service
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user