Add support & ember-exam for Ember 4.8-lts #258
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: volta-cli/action@v4 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint Addon | |
run: yarn lint | |
working-directory: addon | |
- name: Lint Test App | |
run: yarn lint | |
working-directory: test-app | |
- name: Lint Docs | |
run: yarn lint | |
working-directory: docs | |
test: | |
name: Tests | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 20 | |
needs: lint | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
browser: [chrome, firefox] | |
node: ['16', '18'] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: volta-cli/action@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Test | |
run: yarn test:ember --launch ${{ matrix.browser }} | |
working-directory: test-app | |
floating-dependencies: | |
name: Floating Dependencies | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 20 | |
needs: lint | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
browser: [chrome, firefox] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: volta-cli/action@v4 | |
- name: Install Dependencies | |
run: yarn install --no-lockfile --non-interactive | |
- name: Test | |
run: yarn test:ember --launch ${{ matrix.browser }} | |
working-directory: test-app | |
try-scenarios: | |
name: Tests - ${{ matrix.ember-try-scenario }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
continue-on-error: ${{ matrix.allow-failure }} | |
needs: test | |
strategy: | |
fail-fast: true | |
matrix: | |
ember-try-scenario: [ember-lts-4.8, ember-release, ember-beta] | |
allow-failure: [false] | |
include: | |
- ember-try-scenario: ember-canary | |
allow-failure: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: volta-cli/action@v4 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Test | |
env: | |
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }} | |
run: node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO | |
working-directory: test-app | |
typescript-compatibility: | |
name: TypeScript ${{ matrix.typescript-version }} | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
needs: test | |
strategy: | |
matrix: | |
typescript-version: | |
- 4.7 | |
- 4.8 | |
- 4.9 | |
- next | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: volta-cli/action@v4 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Update TS Version | |
run: yarn add -D typescript@${{ matrix.typescript-scenario }} | |
working-directory: ./addon | |
- name: Type checking | |
working-directory: ./addon | |
run: >- | |
yarn tsc -v; yarn tsc --build | |
docs: | |
name: Docs app | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
needs: test | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: volta-cli/action@v4 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Test | |
run: yarn test:ember --launch ${{ matrix.browser }} | |
working-directory: docs |