From 44dba3565f6b764e121f38eb899875f9a6341b55 Mon Sep 17 00:00:00 2001 From: Logan Graham Date: Wed, 20 Jul 2022 20:06:23 -0400 Subject: [PATCH] Add build check to CI jobs --- .github/workflows/pull_request.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 2484380..63ac163 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -75,3 +75,21 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} # end reused configuration - run: npm run prettier-check + + build: + name: Builds + # Start reused configuration + runs-on: ubuntu-latest + needs: [cache-packages] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - uses: actions/cache@v3 + id: load-cache + with: + path: node_modules + key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + # end reused configuration + - run: npm run build