Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/gossi/ember-command. Integrate your Business Logic with Ember gossi.github.io/ember-command
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132name: CI
on: workflow_dispatch: pull_request: push: # filtering branches here prevents duplicate builds from pull_request and push branches: - main - "v*" # always run CI for tags tags: - "*"
# early issue detection: run CI weekly on Sundays schedule: - cron: "0 6 * * 0"
env: CI: true
jobs: lint-js: name: lint:js runs-on: ubuntu-latest steps: - name: Setup uses: wyvox/action@v1 - name: Build run: pnpm --filter ember-command run build - run: pnpm run -r --parallel --aggregate-output lint:js
lint-hbs: name: lint:hbs runs-on: ubuntu-latest steps: - name: Setup uses: wyvox/action@v1 - name: Build run: pnpm --filter ember-command run build - run: pnpm run -r --parallel --aggregate-output lint:hbs
lint-types: name: lint:types runs-on: ubuntu-latest steps: - name: Setup uses: wyvox/action@v1 - name: Build run: pnpm --filter ember-command run build - run: pnpm run -r --parallel --aggregate-output lint:types
test-locked-deps: name: Locked Deps runs-on: ubuntu-latest steps: - name: Setup uses: wyvox/action@v1 - name: Build package run: pnpm --filter ember-command build - name: Pnpm Sync Injected Deps run: pnpm --filter test-app _syncPnpm - name: Tests run: pnpm run -r --parallel --aggregate-output test
test-floating-deps: name: Floating Deps runs-on: ubuntu-latest steps: - name: Setup uses: wyvox/action@v1 with: pnpm-args: --no-frozen-lockfile - name: Build package run: pnpm --filter ember-command build - name: Pnpm Sync Injected Deps run: pnpm --filter test-app _syncPnpm - name: Tests run: pnpm run -r --parallel --aggregate-output test
test-ember-link: name: Ember Link runs-on: ubuntu-latest needs: [test-locked-deps]
strategy: matrix: scenario: - ember-link-v1 - ember-link-v2 steps: - name: Setup uses: wyvox/action@v1 - name: Build package run: pnpm --filter ember-command build - name: Pnpm Sync Injected Deps run: pnpm --filter test-app _syncPnpm - name: Tests run: pnpm run -r --parallel --aggregate-output test - name: Try Scenario run: pnpm exec ember try:one ${{ matrix.scenario }} --skip-cleanup working-directory: test-app
test-try: name: Ember Try runs-on: ubuntu-latest needs: [test-locked-deps]
strategy: fail-fast: false matrix: try-scenario: - ember-3.28 - ember-4.4 - ember-4.8 - ember-4.12 - ember-release - ember-beta - ember-canary - embroider-safe - embroider-optimized steps: - name: Setup uses: wyvox/action@v1 - name: Build package run: pnpm --filter ember-command build - name: Pnpm Sync Injected Deps run: pnpm --filter test-app _syncPnpm - name: Try Scenario run: pnpm exec ember try:one ${{ matrix.try-scenario }} --skip-cleanup working-directory: test-app