Skip to content

Commit 740600f

Browse files
authored
Merge pull request #100 from ronco/update-ci
unify CI with the default output of ember addon
2 parents 8c8f787 + 77d3167 commit 740600f

4 files changed

Lines changed: 1281 additions & 913 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)