Merge pull request #790 from ember-cli/release-plan #1348
This file contains hidden or 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: | |
| - master | |
| - main | |
| - "v*" | |
| pull_request: {} | |
| schedule: | |
| - cron: "0 6 * * 0" # weekly, on sundays | |
| jobs: | |
| lint: | |
| name: Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint:js | |
| - run: pnpm lint:hbs | |
| test: | |
| name: Tests | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu, windows] | |
| node-version: [20.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - run: pnpm install | |
| - run: pnpm test:node | |
| - run: pnpm test:ember | |
| floating-dependencies: | |
| name: Floating Deps | |
| runs-on: ubuntu-latest | |
| needs: [test, lint] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - run: pnpm install --no-lockfile | |
| - run: pnpm test:node | |
| - run: pnpm test:ember | |
| try-scenarios: | |
| name: ${{ matrix.ember-try-scenario }} | |
| runs-on: ubuntu-latest | |
| needs: [test, lint] | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ember-try-scenario: | |
| - ember-lts-4.12 | |
| - ember-release | |
| - ember-beta | |
| - ember-canary | |
| - embroider-safe | |
| - embroider-optimized | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - run: pnpm install | |
| - name: test | |
| env: | |
| EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }} | |
| run: pnpm ember try:one $EMBER_TRY_SCENARIO |