-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db47968
commit 1d5bb8f
Showing
3 changed files
with
1,847 additions
and
1,514 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,66 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
# Filtering branches here prevents duplicate builds from pull_request and push | ||
branches: | ||
- master | ||
- beta | ||
- 'v*' | ||
- /^greenkeeper.*$/ | ||
|
||
# Always run CI for tags | ||
tags: | ||
- '*' | ||
|
||
# Early issue detection: run CI weekly on Sundays | ||
schedule: | ||
- cron: '0 6 * * 0' | ||
|
||
jobs: | ||
test-mocha: | ||
name: Mocha Tests - ${{ matrix.node-version }} | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 10.x] | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install NPM version 4 | ||
run: | | ||
npm config set spin false | ||
npm install -g npm@4 | ||
- name: Yarn Install | ||
run: yarn install --ignore-engines | ||
- name: Run Mocha Tests | ||
run: yarn test:mocha | ||
|
||
test-ember: | ||
name: Ember Tests | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 10.x] | ||
os: [ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Yarn Install | ||
run: yarn install --ignore-engines | ||
- name: Run Tests | ||
run: yarn test:ember | ||
|
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
Oops, something went wrong.