add client build checking
This commit is contained in:
parent
ede1e10aad
commit
985d49bb63
1 changed files with 7 additions and 4 deletions
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue