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
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:
@@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
# change mirror to kku.ac.th for faster package downloading
|
# 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
|
sudo apt update && sudo apt install nodejs npm -y
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -20,9 +20,10 @@ jobs:
|
|||||||
- name: Build webapp
|
- name: Build webapp
|
||||||
run: |
|
run: |
|
||||||
cd accounting-ng-nuttakit
|
cd accounting-ng-nuttakit
|
||||||
|
ls node_modules
|
||||||
ng build
|
ng build
|
||||||
ls dists
|
ls dists
|
||||||
- name: Build Docker Image
|
- name: Build docker image
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
docker -v
|
docker -v
|
||||||
|
|||||||
Reference in New Issue
Block a user