Skip to content

Commit

Permalink
Add typescript compatibility scenario job
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovan Milosevic committed Oct 3, 2023
1 parent 8d697b3 commit 0b19f6b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,35 @@ jobs:
run: pnpm test:ember
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:
- [email protected]
- [email protected]
- 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

try-scenarios:
name: "ember-try: ${{ matrix.ember-try-scenario }}"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0b19f6b

Please sign in to comment.