diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f9071e9..1980f03e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,3 +79,32 @@ jobs: - name: Run tests run: pnpm ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup working-directory: test-app + + typescript-compatibility: + name: Type checking - ${{ matrix.typescript-scenario }} + runs-on: ubuntu-latest + + needs: [test] + + strategy: + fail-fast: false + matrix: + typescript-scenario: + - typescript@5.0 + - typescript@5.1 + - typescript@next + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install pnpm + uses: wyvox/action-setup-pnpm@v3 + with: + node-version: 16.x + args: "--frozen-lockfile" + - name: Update TS version + run: pnpm add -D ${{ matrix.typescript-scenario }} + working-directory: ember-amount-input + - name: Type checking + run: pnpm lint:types + working-directory: ember-amount-input