Skip to content

Commit

Permalink
Merge pull request adopted-ember-addons#2 from Turbo87/github-actions
Browse files Browse the repository at this point in the history
CI: Add GitHub Actions config
  • Loading branch information
Turbo87 authored Nov 3, 2021
2 parents 3adb746 + 233f773 commit ce84ced
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 74 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI

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

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 10.x
cache: yarn

- run: yarn install
- run: yarn lint:hbs
- run: yarn lint:js

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 10.x
cache: yarn

- run: yarn install
- run: yarn test

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: ['lint', 'test']

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-2.16
- ember-lts-2.18
- ember-lts-3.4
- ember-lts-3.8
# temporarily disabled because they are currently failing
# - ember-release
# - ember-beta
# - ember-canary
- ember-default-with-jquery

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 10.x
cache: yarn

- run: yarn
- run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
68 changes: 0 additions & 68 deletions .travis.yml

This file was deleted.

12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8079,16 +8079,16 @@ moment-timezone@^0.3.0:
moment ">= 2.6.0"

moment-timezone@^0.5.13:
version "0.5.27"
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.27.tgz#73adec8139b6fe30452e78f210f27b1f346b8877"
integrity sha512-EIKQs7h5sAsjhPCqN6ggx6cEbs94GK050254TIJySD1bzoM5JTYDwAU1IoVOeTOL6Gm27kYJ51/uuvq1kIlrbw==
version "0.5.33"
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.33.tgz#b252fd6bb57f341c9b59a5ab61a8e51a73bbd22c"
integrity sha512-PTc2vcT8K9J5/9rDEPe5czSIKgLoGsH8UNpA4qZTVw0Vd/Uz19geE9abbIOQKaAQFcnQ3v5YEXrbSc5BpshH+w==
dependencies:
moment ">= 2.9.0"

"moment@>= 2.6.0", "moment@>= 2.9.0", moment@^2.19.3:
version "2.24.0"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==
version "2.29.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==

morgan@^1.9.1:
version "1.9.1"
Expand Down

0 comments on commit ce84ced

Please sign in to comment.