Skip to content

Commit

Permalink
ci: typescript matrix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycalleri committed Oct 9, 2023
1 parent 17bccf9 commit ff37d71
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,38 @@ 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-autofocus-modifier
- name: Type checking
run: pnpm lint:types
working-directory: ember-autofocus-modifier
- name: Update TS version on test-app
run: pnpm add -D ${{ matrix.typescript-scenario }}
working-directory: test-app
- name: Type checking on test-app
run: pnpm lint:types
working-directory: test-app

0 comments on commit ff37d71

Please sign in to comment.