add yaml config to run build test on web-ui

This commit is contained in:
Eduardo Quiros 2022-07-30 02:13:36 -06:00
parent fd19e1f0cb
commit 6d336228e8
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 19 additions and 0 deletions

View File

@ -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