Skip to content

CI

CI #632

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
- 'v*'
tags:
- '*'
schedule:
- cron: '0 6 * * 0' # weekly, on sundays
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: install dependencies
run: npm ci
- name: lint:js
run: npm run lint:js
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install dependencies
run: npm ci
- name: test
run: npm test
try-scenarios:
name: ${{ matrix.ember-try-scenario }}
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
ember-try-scenario:
- ember-lts-3.4
- ember-lts-3.8
- ember-lts-3.12
- ember-release
- ember-beta
- ember-canary
- ember-default
- ember-default-with-jquery
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: install dependencies
run: npm ci
- name: test
env:
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }}
run: node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO