Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Travis with GitHub actions #130

Merged
merged 2 commits into from Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,55 @@
name: CI

on:
push:
branches:
- main
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Tests - ${{ matrix.os }} - Node.js ${{ matrix.node-version }}"
runs-on: "${{ matrix.os }}-latest"

strategy:
matrix:
node-version: [8.x, 10.x]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quaertym note 12.x does not work and yarn install fails on Mac OS on fsevents installation.
I think all the dependencies needs to be updated to fix this.

Also, we may release a new major dropping support for older Node.js versions and bumping all the dependencies but it should be separate

Copy link
Owner

@quaertym quaertym Apr 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Those that prefer can stay on the older version. But I want to release the bower changes before as a minor version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quaertym agree, that totally makes sense!

os: [ubuntu, windows]

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint:js
- name: Run Tests
run: yarn test

floating:
name: "Floating Dependencies - Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Dependencies
run: yarn install --no-lockfile
- name: Run Tests
run: yarn test
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

5 changes: 4 additions & 1 deletion README.md
@@ -1,4 +1,7 @@
Ember CLI Dependency Checker [![Build Status](https://travis-ci.org/quaertym/ember-cli-dependency-checker.svg?branch=master)](https://travis-ci.org/quaertym/ember-cli-dependency-checker) [![Build status](https://ci.appveyor.com/api/projects/status/1tt9nvrkd7jtv1a0/branch/master?svg=true)](https://ci.appveyor.com/project/quaertym/ember-cli-dependency-checker/branch/master) [![Code Climate](https://codeclimate.com/github/quaertym/ember-cli-dependency-checker/badges/gpa.svg)](https://codeclimate.com/github/quaertym/ember-cli-dependency-checker) [![Ember Observer Score](http://emberobserver.com/badges/ember-cli-dependency-checker.svg)](http://emberobserver.com/addons/ember-cli-dependency-checker)
Ember CLI Dependency Checker
[![Build Status](https://github.com/quaertym/ember-cli-dependency-checker/actions/workflows/ci.yml/badge.svg)](https://github.com/quaertym/ember-cli-dependency-checker/actions/workflows/ci.yml)
[![Code Climate](https://codeclimate.com/github/quaertym/ember-cli-dependency-checker/badges/gpa.svg)](https://codeclimate.com/github/quaertym/ember-cli-dependency-checker)
[![Ember Observer Score](http://emberobserver.com/badges/ember-cli-dependency-checker.svg)](http://emberobserver.com/addons/ember-cli-dependency-checker)
============================

An Ember CLI addon that checks for missing npm and bower dependencies before running ember commands.
Expand Down
36 changes: 0 additions & 36 deletions appveyor.yml

This file was deleted.