Skip to content

Commit 1fb7995

Browse files
snewcomerscott-newcomer
andauthored
Fix CI (#449)
* Fix CI * add 3.20 * update lockfile * lint Co-authored-by: scott-newcomer <[email protected]>
1 parent c1a5a42 commit 1fb7995

File tree

4 files changed

+3525
-6005
lines changed

4 files changed

+3525
-6005
lines changed

.github/workflows/ci.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
11+
lint:
12+
name: "Lint"
13+
env:
14+
CI: true
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: true
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Install node
21+
uses: actions/setup-node@v2-beta
22+
with:
23+
node-version: 12.x
24+
25+
- name: Get yarn cache
26+
id: yarn-cache
27+
run: echo "::set-output name=dir::$(yarn cache dir)"
28+
29+
- uses: actions/cache@v2
30+
with:
31+
path: ${{ steps.yarn-cache.outputs.dir }}
32+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33+
restore-keys: |
34+
${{ runner.os }}-yarn-
35+
- name: yarn install
36+
run: yarn
37+
- name: lint
38+
run: yarn lint:js
39+
40+
floating:
41+
name: "Floating dependencies"
42+
env:
43+
CI: true
44+
runs-on: ubuntu-latest
45+
strategy:
46+
fail-fast: true
47+
matrix:
48+
try-scenario: [
49+
ember-lts-3.12,
50+
ember-lts-3.16,
51+
ember-lts-3.20,
52+
ember-beta,
53+
ember-release,
54+
]
55+
steps:
56+
- uses: actions/checkout@v2
57+
- name: Install node
58+
uses: actions/setup-node@v2-beta
59+
with:
60+
node-version: 12.x
61+
62+
- name: Get yarn cache
63+
id: yarn-cache
64+
run: echo "::set-output name=dir::$(yarn cache dir)"
65+
66+
- uses: actions/cache@v2
67+
with:
68+
path: ${{ steps.yarn-cache.outputs.dir }}
69+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
70+
restore-keys: |
71+
${{ runner.os }}-yarn-
72+
- name: yarn install
73+
run: yarn
74+
- name: test
75+
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}

.travis.yml

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

config/ember-try.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ module.exports = async function() {
2222
}
2323
}
2424
},
25+
{
26+
name: 'ember-lts-3.20',
27+
npm: {
28+
devDependencies: {
29+
'ember-source': '~3.20.0'
30+
}
31+
}
32+
},
2533
{
2634
name: 'ember-release',
2735
npm: {

0 commit comments

Comments
 (0)