-
Notifications
You must be signed in to change notification settings - Fork 6
98 lines (93 loc) · 2.47 KB
/
ci.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: CI
"on":
workflow_dispatch: {}
pull_request: null
push:
branches:
- main
schedule:
- cron: "0 3 * * 0 "
jobs:
lint:
name: Lint
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
path:
- ./ember-statechart-component
- ./test-app
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: cd ${{ matrix.path }} && pnpm run lint
tests:
name: Default Tests
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm --filter test-app run test:ember
floating-deps-tests:
name: Floating Deps Test
timeout-minutes: 5
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
args: '--no-lockfile'
- run: pnpm --filter test-app run test:ember
# This seems to not work at the moment -- can't connect to browser
# try-scenarios:
# name: ${{ matrix.ember-try-scenario }}
# timeout-minutes: 10
# runs-on: ubuntu-latest
# needs: tests
# strategy:
# fail-fast: true
# matrix:
# ember-try-scenario:
# - ember-5.1
# - ember-5.4
# - ember-5.8
# - ember-5.12
# - ember-release
# - ember-beta
# - ember-canary
# steps:
# - uses: actions/checkout@v4
# - uses: wyvox/action-setup-pnpm@v3
# - name: test
# working-directory: ./test-app
# run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }}
# --skip-cleanup
typescript-compatibility:
name: ${{ matrix.typescript-scenario }}
timeout-minutes: 5
runs-on: ubuntu-latest
continue-on-error: true
needs: tests
strategy:
fail-fast: true
matrix:
typescript-scenario:
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- name: Update TS Version
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