Skip to content

Commit

Permalink
Merge pull request #303 from Turbo87/gh-actions
Browse files Browse the repository at this point in the history
Replace TravisCI with GitHub Actions
  • Loading branch information
mansona authored Mar 8, 2021
2 parents 6b32672 + 9398010 commit 76c460a
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 73 deletions.
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
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
71 changes: 0 additions & 71 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76c460a

Please sign in to comment.