Skip to content

Commit

Permalink
Use GitHub actions instead of Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Dec 23, 2020
1 parent 2f4252d commit cb79e9d
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 66 deletions.
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/main.yml
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: 10.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: 10.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
62 changes: 0 additions & 62 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,9 @@
"ember-cli-htmlbars-inline-precompile",
"loader.js"
]
},
"volta": {
"node": "10.23.0",
"yarn": "1.22.10"
}
}

0 comments on commit cb79e9d

Please sign in to comment.