-
Notifications
You must be signed in to change notification settings - Fork 153
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 #345 from rwwagner90/use-github-actions
Use GitHub Actions instead of Travis
- Loading branch information
Showing
3 changed files
with
74 additions
and
77 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,64 @@ | ||
name: CI Build | ||
|
||
on: | ||
pull_request: {} | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
test: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 12.x | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint | ||
- run: yarn test:ember | ||
|
||
floating-dependencies: | ||
name: 'Floating Dependencies' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 12.x | ||
- run: yarn install --no-lockfile | ||
- run: yarn test:ember | ||
|
||
try-scenarios: | ||
name: 'Try: ${{ matrix.ember-try-scenario }}' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
needs: test | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ember-try-scenario: | ||
- ember-lts-3.16 | ||
- ember-lts-3.20 | ||
- ember-release | ||
- ember-beta | ||
- ember-canary | ||
- ember-default-with-jquery | ||
- ember-classic | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: 12.x | ||
- name: install dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: test | ||
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup |
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