Workflow: change image to ubuntu-node for faster building
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
@@ -4,15 +4,10 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
Build Docker Image:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-node
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
# change mirror to kku.ac.th for faster package downloading
|
||||
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 curl -y
|
||||
- name: Install project dependencies
|
||||
run: |
|
||||
(
|
||||
@@ -25,7 +20,7 @@ jobs:
|
||||
npm install --force --legacy-peer-deps --include=dev
|
||||
npm install -g @angular/cli
|
||||
)
|
||||
- name: Build accounting webapp
|
||||
- name: Build webapp
|
||||
run: |
|
||||
(
|
||||
cd accounting-ng-nuttakit
|
||||
|
||||
Reference in New Issue
Block a user