From bac5e67d85f9611c8a2c2b602ebd46bc4dff1d03 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Fri, 11 Aug 2023 16:42:34 -0400 Subject: [PATCH] Add build step for CI --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1d67fe0..ad501e7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,3 +26,21 @@ jobs: run: pnpm format:check - name: Check TypeScript run: pnpm typecheck + + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup pnpm + # Pulls version from packageManager key in package.json + uses: pnpm/action-setup@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Build + run: pnpm build