diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index abf3919..abd4d6f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,6 +44,25 @@ jobs: - name: Unit Tests run: npm run test + # Loads both builds through the package exports and checks that every import is declared. + check_build: + name: Check Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'npm' + - name: Install Packages + run: npm ci + - name: Build + run: npm run build + - name: Check Build + run: npm run test:build + # Validate the lower edge of the React peer range. Runs only on # release-please PRs so regular PR CI stays fast; failure here blocks # the release before it can be tagged and published.