Skip to content

Commit 40eba88

Browse files
authored
CI: github actions (#99)
* CI: github actions * add lint all * add dep * update test scenarios
1 parent 882a316 commit 40eba88

6 files changed

Lines changed: 251 additions & 80 deletions

File tree

.github/workflows/ci.yml

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

.travis.yml

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

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## master
22

3+
## 1.0.0
4+
There is value in releasing a 1.0.0! No breaking changes other than updating the [blueprints](https://github.com/kimroen/ember-cli-document-title/pull/80)
5+
36
## 0.4.0
47
+ [BREAKING] Update dependencies and project/testing setup to match `ember-cli@2.15.0` [#56](https://github.com/kimroen/ember-cli-document-title/pull/56)
58
`ember-cli-document-title` now requires Node 4 or greater.

config/ember-try.js

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,34 @@ module.exports = function() {
1212
useYarn: true,
1313
scenarios: [
1414
{
15-
name: 'ember-lts-2.16',
16-
env: {
17-
EMBER_OPTIONAL_FEATURES: JSON.stringify({
18-
'jquery-integration': true,
19-
}),
15+
name: 'ember-lts-3.8',
16+
npm: {
17+
devDependencies: {
18+
'ember-source': '~3.8.0',
19+
},
2020
},
21+
},
22+
{
23+
name: 'ember-lts-3.12',
2124
npm: {
2225
devDependencies: {
23-
'@ember/jquery': '^0.5.1',
24-
'ember-source': '~2.16.0',
26+
'ember-source': '~3.12.0',
2527
},
2628
},
2729
},
2830
{
29-
name: 'ember-lts-2.18',
30-
env: {
31-
EMBER_OPTIONAL_FEATURES: JSON.stringify({
32-
'jquery-integration': true,
33-
}),
31+
name: 'ember-lts-3.16',
32+
npm: {
33+
devDependencies: {
34+
'ember-source': '~3.16.0',
35+
},
3436
},
37+
},
38+
{
39+
name: 'ember-lts-3.20',
3540
npm: {
3641
devDependencies: {
37-
'@ember/jquery': '^0.5.1',
38-
'ember-source': '~2.18.0',
42+
'ember-source': '~3.20.0',
3943
},
4044
},
4145
},

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@
2424
"build": "ember build",
2525
"lint:hbs": "ember-template-lint .",
2626
"lint:js": "eslint .",
27+
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
2728
"start": "ember serve",
2829
"test": "ember test && ember fastboot:test",
2930
"test:all": "ember try:each"
3031
},
3132
"dependencies": {
32-
"ember-cli-babel": "^6.16.0"
33+
"ember-cli-babel": "^6.16.0",
34+
"npm-run-all": "^4.1.5"
3335
},
3436
"devDependencies": {
3537
"@ember/optional-features": "^0.6.3",

0 commit comments

Comments
 (0)