Skip to content

Commit 7e28867

Browse files
committed
Add TS compatibility matrix
1 parent 9de7b19 commit 7e28867

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,33 @@ jobs:
4040
- run: pnpm test
4141
- run: pnpm --filter '*' test
4242

43+
ts_support:
44+
name: "TS: ${{ matrix.tsVersion }}"
45+
runs-on: ubuntu-latest
46+
needs: [tests]
47+
timeout-minutes: 2
48+
strategy:
49+
fail-fast: false
50+
matrix:
51+
tsVersion:
52+
- 5.1
53+
- 5.2
54+
- 5.3
55+
- 5.4
56+
- rc
57+
- next
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: wyvox/action-setup-pnpm@v3
61+
- name: 'Change TS to ${{ matrix.tsVersion }}'
62+
run: |
63+
tmp=$(mktemp)
64+
jq '.pnpm.overrides.typescript = "${{ matrix.tsVersion }}"' package.json > "$tmp"
65+
mv "$tmp" package.json
66+
- run: pnpm install --no-frozen-lockfile
67+
- run: pnpm test
68+
- run: pnpm --filter '*' test
69+
4370

4471
test_eslint-plugin-ember:
4572
name: "eslint-plugin-ember"

0 commit comments

Comments
 (0)