-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from qonto/ci-typescript-versions
ci: add TypeScript compatibility check jobs
- Loading branch information
Showing
3 changed files
with
34 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 |
---|---|---|
|
@@ -85,3 +85,35 @@ jobs: | |
- name: Run Tests | ||
run: pnpm try:ember ${{ matrix.try-scenario }} | ||
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: | ||
pnpm-version: 8.5.1 | ||
node-version: 16.x | ||
args: "--frozen-lockfile" | ||
- name: Update TS version on addon package | ||
run: pnpm add -D ${{ matrix.typescript-scenario }} | ||
working-directory: ember-lottie | ||
- name: Update TS version on test-app package | ||
run: pnpm add -D ${{ matrix.typescript-scenario }} | ||
working-directory: test-app | ||
- name: Type checking | ||
run: pnpm lint:types |
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
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