add yaml config to run build test on web-ui
This commit is contained in:
parent
fd19e1f0cb
commit
6d336228e8
|
@ -29,3 +29,22 @@ jobs:
|
||||||
cd ./api-gateway
|
cd ./api-gateway
|
||||||
npm ci
|
npm ci
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
build-web:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x, 16.x, 18.x]
|
||||||
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'npm'
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
cd ./web-ui/web-react/
|
||||||
|
npm ci
|
||||||
|
npm run build --if-present
|
Loading…
Reference in New Issue