From e8121878ec5099e9325896654e5159bbf6fbcbe0 Mon Sep 17 00:00:00 2001 From: Julio Verne <55258516+julio-ufpb@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:06:18 -0300 Subject: [PATCH] change: create build-check workflow --- .github/workflows/build-chack.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-chack.yml b/.github/workflows/build-chack.yml index 28e8f605..a28301e1 100644 --- a/.github/workflows/build-chack.yml +++ b/.github/workflows/build-chack.yml @@ -6,20 +6,24 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [ 14.x ] + steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Node.js + - name: Set up Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: - node-version: '14' + node-version: ${{ matrix.node-version }} - name: Set NODE_ENV to production run: echo "NODE_ENV=production" >> $GITHUB_ENV - name: Install dependencies - run: npm install + run: npm install --include=dev - name: Build run: npm run build