Skip to content

CI

CI #3584

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'v*'
pull_request: {}
schedule:
- cron: '0 3 * * *' # daily, at 3am
env:
PNPM_VERSION: 6.35.1
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.4.0
- uses: pnpm/action-setup@v2.2.4
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3.6.0
with:
node-version: 14.x
cache: pnpm
- run: pnpm install
- run: pnpm run lint
test:
name: Node Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v3.4.0
- uses: pnpm/action-setup@v2.2.4
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install
- run: pnpm run test:node
ember-try-scenarios:
name: Ember Tests (${{ matrix.try-scenario }})
needs: [test]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.8
- ember-lts-3.12
- ember-lts-3.16
- ember-lts-3.20
- ember-lts-3.24
- ember-lts-3.28
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized
steps:
- uses: actions/checkout@v3.4.0
- uses: pnpm/action-setup@v2.2.4
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3.6.0
with:
node-version: 14.x
cache: pnpm
- run: pnpm install
- run: pnpm ember try:one ${{ matrix.try-scenario }} --skip-cleanup --- echo "${{ matrix.try-scenario }} installed"
- run: pnpm test:keep
- run: pnpm test:strip