Release 3.0.3 #759
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: | |
branches: | |
- main | |
- master | |
pull_request: {} | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: "Tests" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
working-directory: packages/ember-cli-mirage | |
- name: Run Tests | |
run: pnpm run test:ember | |
working-directory: packages/ember-cli-mirage | |
floating: | |
name: "Floating Dependencies" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Update resolution-mode | |
run: echo "resolution-mode=highest" >> .npmrc | |
- name: Install Dependencies | |
run: pnpm install --no-lockfile | |
- name: Run Tests | |
run: pnpm run test:ember | |
working-directory: packages/ember-cli-mirage | |
test-docs: | |
name: "Docs" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
working-directory: packages/ember-cli-mirage-docs | |
- name: Run Tests | |
run: pnpm run test:ember | |
working-directory: packages/ember-cli-mirage-docs | |
test-app-01: | |
name: "Tests - Basic App" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
working-directory: test-packages/01-basic-app | |
- name: Run Tests | |
run: pnpm run test | |
working-directory: test-packages/01-basic-app | |
test-app-02: | |
name: "Tests - App That Excludes Mirage" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
working-directory: test-packages/02-app-that-excludes-mirage | |
- name: Run Tests | |
run: pnpm run test | |
working-directory: test-packages/02-app-that-excludes-mirage | |
try-scenarios: | |
name: ${{ matrix.try-scenario }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
needs: 'test' | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: | |
- ember-lts-3.28 | |
- ember-lts-4.4 | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
# - embroider-safe | |
# - embroider-optimized | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Run Tests | |
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} | |
working-directory: packages/ember-cli-mirage |