Skip to content

Commit a8c84eb

Browse files
committed
add basic CI
1 parent e255ac8 commit a8c84eb

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

.github/workflows/ci.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- lts-v3
7+
pull_request: {}
8+
9+
concurrency:
10+
group: ci-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
test:
15+
name: "Tests"
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: pnpm/action-setup@v2
21+
with:
22+
version: 8
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 18.x
26+
cache: pnpm
27+
- run: pnpm i --frozen-lockfile
28+
- run: pnpm run test
29+
30+
floating:
31+
name: "Floating Dependencies"
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: pnpm/action-setup@v2
37+
with:
38+
version: 8
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: 18.x
42+
cache: pnpm
43+
- run: pnpm install --no-lockfile
44+
- run: pnpm run test:ember
45+
46+
try-scenarios:
47+
name: ${{ matrix.try-scenario }}
48+
runs-on: ubuntu-latest
49+
needs: 'test'
50+
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
try-scenario:
55+
- ember-lts-3.28
56+
- embroider-safe
57+
- embroider-optimized
58+
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: pnpm/action-setup@v2
62+
with:
63+
version: 8
64+
- uses: actions/setup-node@v4
65+
with:
66+
node-version: 18.x
67+
cache: pnpm
68+
- run: pnpm i --frozen-lockfile
69+
- name: Run Tests
70+
run: pnpm ember try:one ${{ matrix.try-scenario }}

0 commit comments

Comments
 (0)