Add sync #163
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: | |
branches: | |
- main | |
- master | |
pull_request: {} | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
setup: | |
name: "Fill Dependency Cache" | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
lint: | |
name: "Lints" | |
needs: ['setup'] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: pnpm lint | |
test: | |
name: "Tests" | |
needs: ['setup'] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: pnpm test:ember | |
try-scenarios: | |
name: ${{ matrix.try-scenario }} | |
needs: ['setup', 'test'] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
- ember-lts-5.4 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup | |
# - run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup --- echo "setup" | |
working-directory: tests/test-app | |
# - run: pnpm install --ignore-scripts --no-frozen-lockfile | |
# - run: pnpm dedupe | |
# - run: pnpm install --force # ensure pnpm injections are re-created | |
# - run: pnpm ember test | |
# working-directory: tests/test-app | |