workflow: fix path for apt sed'in, verify why angular is not installed
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 6m46s

angular issue is about the version itself, but verification is needed by front-end dev too. cannot figure it out yet why isn't installing on ubuntu noble container.

ubuntu noble is using /etc/apt/source.list.d, unlike debian.

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-20 07:07:57 +07:00
parent cd6e0595a9
commit de73c8d68f

View File

@@ -11,7 +11,7 @@ jobs:
- name: Install system dependencies
run: |
# change mirror to kku.ac.th for faster package downloading
sudo sed -i 's@http://archive.ubuntu.com@https://mirror.kku.ac.th@g' /etc/apt/sources.list
sudo sed -i 's@http://archive.ubuntu.com@http://mirror.kku.ac.th@g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update && sudo apt install nodejs npm -y
- name: Install project dependencies
run: |
@@ -20,9 +20,10 @@ jobs:
- name: Build webapp
run: |
cd accounting-ng-nuttakit
ls node_modules
ng build
ls dists
- name: Build Docker Image
- name: Build docker image
run: |
ls
docker -v