From 6d336228e89fd2a7bf7bb3d1d8a75514053f9556 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Sat, 30 Jul 2022 02:13:36 -0600 Subject: [PATCH] add yaml config to run build test on web-ui --- .github/workflows/node.js.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 22f0a461..99799da6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,3 +29,22 @@ jobs: cd ./api-gateway npm ci 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 \ No newline at end of file