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

Upgrade CI #435

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: CI

# These trigger patterns courtesy of https://github.com/broccolijs/broccoli/pull/436
on:
workflow_dispatch:
pull_request:
push:
# filtering branches here prevents duplicate builds from pull_request and push
Expand All @@ -14,7 +15,6 @@ on:
# always run CI for tags
tags:
- "*"

# early issue detection: run CI weekly on Sundays
schedule:
- cron: "0 6 * * 0"
Expand All @@ -25,14 +25,15 @@ env:
jobs:
test-locked-deps:
name: Locked Deps
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 12
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint JS
Expand All @@ -44,12 +45,12 @@ jobs:

test-old-dependencies:
name: Oldest Supported Env
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 10
- name: Install Dependencies
Expand All @@ -59,7 +60,7 @@ jobs:

test-try:
name: Ember Try
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
needs: [test-locked-deps]
strategy:
matrix:
Expand All @@ -70,13 +71,15 @@ jobs:
- ember-release
- ember-beta
- ember-canary
fail-fast: false
steps:
- name: Checkout Code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 12
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Try Scenario
Expand Down