-
-
Notifications
You must be signed in to change notification settings - Fork 94
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 #303 from Turbo87/gh-actions
Replace TravisCI with GitHub Actions
- Loading branch information
Showing
3 changed files
with
83 additions
and
73 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,81 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- "v*" | ||
pull_request: | ||
|
||
env: | ||
FORCE_COLOR: 1 | ||
|
||
jobs: | ||
lint: | ||
name: Linting | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 8.x | ||
|
||
- run: npm ci | ||
- run: npm run lint:hbs | ||
- run: npm run lint:js | ||
|
||
test: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 8.x | ||
|
||
- run: npm ci | ||
- run: npm test | ||
|
||
floating-dependencies: | ||
name: Floating Dependencies | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 8.x | ||
|
||
- run: npm install --no-package-lock | ||
- run: npm test | ||
|
||
try-scenarios: | ||
name: "ember-try: ${{ matrix.ember-try-scenario }}" | ||
runs-on: ubuntu-latest | ||
needs: test | ||
|
||
strategy: | ||
matrix: | ||
ember-try-scenario: | ||
- ember-lts-2.18 | ||
- ember-lts-3.4 | ||
- ember-lts-3.8 | ||
- ember-lts-3.12 | ||
- ember-release | ||
- ember-beta | ||
- ember-default-with-jquery | ||
- ember-classic | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 8.x | ||
|
||
- run: npm ci | ||
|
||
- name: test | ||
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.