-
Notifications
You must be signed in to change notification settings - Fork 37
52 lines (45 loc) · 1.31 KB
/
weekly-typescript.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is how we can keep tabs on future typescript versions
# and if they are compatible with ember-resources
# without blocking PRs
#
name: Weekly TypeScript
on:
workflow_dispatch:
schedule:
# Runs "At 03:00 on Sunday." (see https://crontab.guru)
- cron: '0 3 * * 0'
jobs:
install_dependencies:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
typecheck:
name: '${{ matrix.typescript-scenario }}'
runs-on: ubuntu-latest
timeout-minutes: 2
continue-on-error: true
strategy:
fail-fast: false
matrix:
typescript-scenario:
- typescript@4.8
- typescript@4.9
- typescript@5.0
- typescript@5.1
- typescript@5.2
- typescript@next
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # just in case
- name: 'Change TS to ${{ matrix.typescript-scenario }}'
run: 'pnpm add --save-dev ${{ matrix.typescript-scenario}}'
working-directory: ./test-app
- name: 'Type checking'
run: |
pnpm --filter test-app exec tsc -v;
pnpm --filter test-app exec glint --version;
pnpm --filter test-app exec glint;