add client build checking

This commit is contained in:
pakintada@gmail.com 2024-03-29 10:48:22 +07:00
parent ede1e10aad
commit 985d49bb63

View file

@ -11,16 +11,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Open Web Client Folder - name: Setup Node.js
run: cd ./client uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 20
registry-url: https://npm.pkg.github.com/ registry-url: https://npm.pkg.github.com/
- name: Install Angular CLI - name: Install Angular CLI
run: npm install -g @angular/cli run: npm install -g @angular/cli
- name: Install dependencies - name: Install dependencies
run: npm install run: |
pwd
cd client
ls
npm install
- name: Build Angular project - name: Build Angular project
run: ng build ${{ inputs.project_name }} run: ng build ${{ inputs.project_name }}
- name: Create Release - name: Create Release