Skip to content

CI Build

CI Build #3110

Workflow file for this run

name: CI Build
on:
push:
branches:
- master
- "v*"
pull_request:
schedule:
- cron: "0 3 * * *" # daily, at 3am
jobs:
test:
timeout-minutes: 10
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v4
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn lint
- run: yarn test
floating-dependencies:
timeout-minutes: 10
name: "Floating Dependencies"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v4
- run: yarn install --no-lockfile
- run: yarn test
try-scenarios:
timeout-minutes: 10
name: "Try: ${{ matrix.ember-try-scenario }}"
runs-on: ubuntu-latest
needs: test
strategy:
fail-fast: false
matrix:
ember-try-scenario:
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-release
- ember-beta
- ember-canary
- ember-default
- embroider-safe
# - embroider-optimized # see comments in ember-try.js
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v4
- name: install dependencies
run: yarn install --frozen-lockfile
- name: test
working-directory: addon
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
- name: types compatibility
working-directory: addon
run: yarn lint:ts
types:
runs-on: ubuntu-latest
needs: test
strategy:
fail-fast: false
matrix:
ts-version:
- 4.7
- 4.8
- 4.9
- 5.0
- 5.1
- next
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v4
- name: install dependencies
run: yarn install --frozen-lockfile
- name: install TS version
working-directory: addon
run: yarn install --dev typescript@${{matrix.ts-version}}
- name: test types
working-directory: addon
run: yarn lint:ts