-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typescript compatibility scenario job
- Loading branch information
Jovan Milosevic
committed
Oct 3, 2023
1 parent
8d697b3
commit 0b19f6b
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|