From 7ff21273091a605e05173502654cfb9c90a4382e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:51:17 +0000 Subject: [PATCH] chore(ci): check for build errors (#1013) --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68f80399b..333139a53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,25 @@ jobs: - name: Check types run: ./scripts/lint + + build: + name: build + runs-on: ubuntu-latest + if: github.repository == 'openai/openai-node' + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: '18' + + - name: Install dependencies + run: yarn install + + - name: Check build + run: ./scripts/build test: name: test runs-on: ubuntu-latest