Skip to content

Fix renderComponent context and add bridge helpers #156

Fix renderComponent context and add bridge helpers

Fix renderComponent context and add bridge helpers #156

Workflow file for this run

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
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.1.3
- uses: actions/setup-node@v4
with:
node-version: 26
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Run Tests
run: pnpm test
floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.1.3
- uses: actions/setup-node@v4
with:
node-version: 26
cache: pnpm
- name: Install Dependencies
run: pnpm install --no-lockfile
- name: Run Tests
run: pnpm test
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: 'test'
strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-4.8
- ember-lts-4.12
- ember-lts-5.4
- ember-lts-5.8
- ember-test-helper-v3
- embroider-safe
- embroider-optimized
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.1.3
- uses: actions/setup-node@v4
with:
node-version: 26
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run Tests
run: pnpm exec ember try:one ${{ matrix.try-scenario }}
working-directory: test-app
# Current release/beta/canary need the modern test app; the legacy Ember 4
# app cannot cover those channels by swapping ember-source alone.
try-scenarios-ember-7:
name: "ember-7-${{ matrix.try-scenario }}"
runs-on: ubuntu-latest
timeout-minutes: 20
needs: 'test'
strategy:
fail-fast: false
matrix:
try-scenario:
- ember-release
- ember-beta
- ember-canary
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.1.3
- uses: actions/setup-node@v4
with:
node-version: 26
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run Tests
# Each matrix entry runs in its own job, so there is no follow-up work
# that needs ember-try to restore the original dependency set.
# Calling Ember directly avoids pnpm exec's verify-deps-before-run check
# before ember-try starts managing the scenario dependencies.
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup=true
working-directory: test-app-ember-7