diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83198e80..21540985 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 == 'anthropics/anthropic-sdk-typescript' + + 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