This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #459 from Turbo87/gh-actions
Replace TravisCI with GitHub Actions
- Loading branch information
Showing
4 changed files
with
91 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- 'v*' | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
# necessary for commitlint-github-action | ||
fetch-depth: 0 | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
node-version: '6' | ||
cache: yarn | ||
|
||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint:js | ||
- uses: wagoid/commitlint-github-action@v4 | ||
- run: yarn ember ts:precompile | ||
|
||
test: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '6' | ||
cache: yarn | ||
|
||
- run: yarn install --frozen-lockfile | ||
- run: yarn test | ||
|
||
try-scenarios: | ||
name: ember-try | ||
runs-on: ubuntu-latest | ||
needs: [lint, test] | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ember-try-scenario: | ||
- ember-lts-2.12 | ||
- ember-lts-2.16 | ||
- ember-lts-2.18 | ||
- ember-lts-3.4 | ||
- ember-lts-3.8 | ||
# disabled because the Ember.js 4 scenarios are not passing yet | ||
# - ember-release | ||
# - ember-beta | ||
# - ember-canary | ||
# disabled for now because it fails with a strange ember-data | ||
# installation error | ||
#- fastboot-addon-tests | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
# some of the unlocked dependency versions that ember-try installs | ||
# are incompatible with Node.js 6 | ||
node-version: '10' | ||
cache: yarn | ||
|
||
- run: yarn install --frozen-lockfile | ||
- run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -754,15 +754,6 @@ | |
dependencies: | ||
find-up "^2.1.0" | ||
|
||
"@commitlint/travis-cli@^7.0.0": | ||
version "7.0.0" | ||
resolved "https://registry.yarnpkg.com/@commitlint/travis-cli/-/travis-cli-7.0.0.tgz#2d8698310b65908973ec1c5e66b15164bd43f5ea" | ||
integrity sha1-LYaYMQtlkIlz7BxeZrFRZL1D9eo= | ||
dependencies: | ||
"@commitlint/cli" "^7.0.0" | ||
babel-runtime "6.26.0" | ||
execa "0.9.0" | ||
|
||
"@ember/ordered-set@^1.0.0": | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/@ember/ordered-set/-/ordered-set-1.0.1.tgz#f1a8c731168fb0ce25f868118ffef266ace29bac" | ||
|
@@ -4621,10 +4612,10 @@ ember-compatibility-helpers@^1.0.0: | |
ember-cli-version-checker "^2.1.1" | ||
semver "^5.4.1" | ||
|
||
ember-data@^3.1.1: | ||
version "3.1.1" | ||
resolved "https://registry.yarnpkg.com/ember-data/-/ember-data-3.1.1.tgz#8c17c97a4932b0a0a405cc3e38c43140880366d2" | ||
integrity sha512-fEoD80XZtu3U/iebFCNnqy+w0X9SD7oAtTJdLISlHJp872FfKV3UurdD098AJoGfDHy6FCZvCwjq0m4ZS+v+bw== | ||
ember-data@~3.1.1: | ||
version "3.1.2" | ||
resolved "https://registry.yarnpkg.com/ember-data/-/ember-data-3.1.2.tgz#10525e7d3ea52919596b335bdd68f3802de7cda3" | ||
integrity sha512-tVD+tnimzJ0CliNNmJRHOzXRaBVqRjrkH9EZUEG7obbCWwOZCQz2NKOlIxbxIoAJmDXMCWRGpqGsYQhDHTz8og== | ||
dependencies: | ||
"@ember/ordered-set" "^1.0.0" | ||
amd-name-resolver "0.0.7" | ||
|
@@ -5192,10 +5183,10 @@ exec-sh@^0.2.0: | |
dependencies: | ||
merge "^1.1.3" | ||
|
||
execa@0.9.0, execa@^0.9.0: | ||
version "0.9.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-0.9.0.tgz#adb7ce62cf985071f60580deb4a88b9e34712d01" | ||
integrity sha512-BbUMBiX4hqiHZUA5+JujIjNb6TyAlp2D5KLheMjMluwOuzcnylDL4AxZYLLn1n2AGB49eSWwyKvvEQoRpnAtmA== | ||
execa@^0.7.0: | ||
version "0.7.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" | ||
integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= | ||
dependencies: | ||
cross-spawn "^5.0.1" | ||
get-stream "^3.0.0" | ||
|
@@ -5205,10 +5196,10 @@ [email protected], execa@^0.9.0: | |
signal-exit "^3.0.0" | ||
strip-eof "^1.0.0" | ||
|
||
execa@^0.7.0: | ||
version "0.7.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" | ||
integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= | ||
execa@^0.9.0: | ||
version "0.9.0" | ||
resolved "https://registry.yarnpkg.com/execa/-/execa-0.9.0.tgz#adb7ce62cf985071f60580deb4a88b9e34712d01" | ||
integrity sha512-BbUMBiX4hqiHZUA5+JujIjNb6TyAlp2D5KLheMjMluwOuzcnylDL4AxZYLLn1n2AGB49eSWwyKvvEQoRpnAtmA== | ||
dependencies: | ||
cross-spawn "^5.0.1" | ||
get-stream "^3.0.0" | ||
|