From 09f9d09ced3d8cdf222fe9eb625b5bb8f95ea73b Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Wed, 17 Nov 2021 10:50:14 -0800 Subject: [PATCH] Add build job to GitHub workflow --- .github/workflows/ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ea996500d..901278564 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,6 +5,19 @@ on: pull_request: name: ci jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node: [12, 14, 16] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - run: node --version + - run: npm ci + - run: npm run build unit-test: runs-on: ubuntu-latest strategy: