Skip to content

Commit

Permalink
Merge pull request #7 from empress/github-ci
Browse files Browse the repository at this point in the history
Move to GitHub CI
  • Loading branch information
mansona authored Aug 27, 2021
2 parents a895647 + c4c5a66 commit 539960a
Show file tree
Hide file tree
Showing 3 changed files with 21,059 additions and 83 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: CI

on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:

env:
NODE_VERSION: 10
FORCE_COLOR: 1

jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm i -g npm@7
- run: npm ci
- run: npm run lint

floating-dependencies:
name: Floating Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm i -g npm@7
- run: npm install --no-package-lock
- run: npm run test:ember

test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mansona/npm-lockfile-version@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm i -g npm@7
- run: npm ci
- run: npm run test:ember

try-scenarios:
name: "ember-try: ${{ matrix.ember-try-scenario }}"
runs-on: ubuntu-latest
timeout-minutes: 7
needs: test

strategy:
fail-fast: false
matrix:
ember-try-scenario:
- 'ember-lts-3.12'
- 'ember-lts-3.16'
- 'ember-release'
- 'ember-beta'
- 'ember-canary'
- 'ember-default-with-jquery'
- 'ember-classic'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm i -g npm@7
- run: npm ci
- name: test
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
59 changes: 0 additions & 59 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 539960a

Please sign in to comment.