-
Notifications
You must be signed in to change notification settings - Fork 12
87 lines (78 loc) · 2.1 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
# This workflow is largely based on
# https://github.com/salsify/ember-css-modules/blob/master/.github/workflows/ci.yml
name: CI
# These trigger patterns courtesy of https://github.com/broccolijs/broccoli/pull/436
on:
pull_request:
push:
# filtering branches here prevents duplicate builds from pull_request and push
branches:
- main
- "v*"
jobs:
lint-js:
name: lint:js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm run -r --parallel --aggregate-output lint:js
lint-css:
name: lint:css
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm run -r --parallel --aggregate-output lint:css
lint-hbs:
name: lint:hbs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm run -r --parallel --aggregate-output lint:hbs
lint-types:
name: lint:types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm run -r --parallel --aggregate-output lint:types
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Test
run: pnpm run -r --parallel --aggregate-output test
test-try:
name: Ember Try
runs-on: ubuntu-24.04
needs: [test]
strategy:
fail-fast: false
matrix:
try-scenario:
- ember-3.28
- ember-4.12
- ember-5.4
- ember-5.8
- ember-5.12
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Try Scenario
run: pnpm exec ember try:one ${{ matrix.try-scenario }} --skip-cleanup
working-directory: test-app