-
Notifications
You must be signed in to change notification settings - Fork 3
72 lines (62 loc) · 1.41 KB
/
ci.yml
File metadata and controls
72 lines (62 loc) · 1.41 KB
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
name: CI
on:
pull_request:
push:
branches:
- main
- master
schedule:
- cron: "0 3 * * 0" # every Sunday at 3am
env:
CI: true
jobs:
tests:
name: Base Tests
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 20.x
- run: pnpm ember test
lint:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 20.x
- run: pnpm lint:js
- run: pnpm lint:hbs
types:
name: Type Checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 20.x
- run: pnpm prepack
try-scenarios:
name: "Compatibility"
timeout-minutes: 7
runs-on: ubuntu-latest
needs: tests
strategy:
fail-fast: true
matrix:
ember-try-scenario:
- ember-3.25
- ember-3.28-lts
- first-inert
- ember-could-get-used-to-this
- embroider-safe
- embroider-optimized
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 20.x
- run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup